feat: #响应式 (#22)

* feat: #响应式

* fix: #兼容node 16

* feat: #接口代理

* fix: #延长超时时长到30秒

* fix: #for node 16

* fix: #node 16

* Update settings.json

* Update package.json

* Update index.vue

* Update Layout.vue

---------

Co-authored-by: Redon <790348264@qq.com>
This commit is contained in:
Yut
2023-02-15 14:01:42 +08:00
committed by GitHub
parent 79eeb51537
commit c617205a8c
7 changed files with 70 additions and 15 deletions

View File

@@ -4,7 +4,7 @@ import Sider from './sider/index.vue'
</script>
<template>
<div class="h-full overflow-hidden border rounded-md shadow-md min-w-[640px]">
<div class="h-full overflow-hidden border rounded-md shadow-md">
<NLayout class="h-full" has-sider>
<Sider />
<NLayoutContent class="h-full">
@@ -13,7 +13,3 @@ import Sider from './sider/index.vue'
</NLayout>
</div>
</template>
<style>
</style>

View File

@@ -1,6 +1,6 @@
import type { App } from 'vue'
import type { RouteRecordRaw } from 'vue-router'
import { createRouter, createWebHashHistory } from 'vue-router'
import { createRouter, createWebHistory } from 'vue-router'
const routes: RouteRecordRaw[] = [
{
@@ -11,7 +11,7 @@ const routes: RouteRecordRaw[] = [
]
export const router = createRouter({
history: createWebHashHistory(),
history: createWebHistory(),
routes,
scrollBehavior: () => ({ left: 0, top: 0 }),
})