浏览代码

Merge branch 'master' of http://git.cc-lotus.info/zkzx/zkzx_admin

YY 2 年之前
父节点
当前提交
63ed62b9af
共有 3 个文件被更改,包括 25 次插入7 次删除
  1. 2 2
      src/router/index.ts
  2. 13 3
      tsconfig.json
  3. 10 2
      tsconfig.node.json

+ 2 - 2
src/router/index.ts

@@ -19,12 +19,12 @@ const router = createRouter({
     },
     {
       path: '/homeIndex',
-      meta: { title: '中科在线(长春)', is_filter: true },
+      meta: { title: '中科在线(长春)' },
       component: () => import('@common/src/components/admin-frame/home.vue'),
       children: [
         {
           path: '/homeIndex',
-          meta: { title: '中科在线(长春)', is_filter: true },
+          meta: { title: '中科在线(长春)' },
           component: () => import('@/views/home/index.vue')
         },
         // 系统管理

+ 13 - 3
tsconfig.json

@@ -12,6 +12,7 @@
     "**/*.tsx"
   ],
   "compilerOptions": {
+    "ignoreDeprecations": "5.0",
     "target": "esnext",
     "module": "esnext",
     "strict": false,
@@ -19,14 +20,23 @@
     "moduleResolution": "node",
     "baseUrl": ".",
     "paths": {
-      "@/*": ["./src/*"],
-      "@common/*": ["../common/*"]
+      "@/*": [
+        "./src/*"
+      ],
+      "@common/*": [
+        "../common/*"
+      ]
     },
     "isolatedModules": false,
     "sourceMap": true,
     "resolveJsonModule": true,
     "esModuleInterop": true,
-    "lib": ["es5", "es6", "dom", "dom.iterable"],
+    "lib": [
+      "es5",
+      "es6",
+      "dom",
+      "dom.iterable"
+    ],
     "allowSyntheticDefaultImports": true
   },
   "references": [

+ 10 - 2
tsconfig.node.json

@@ -1,8 +1,16 @@
 {
   "extends": "@vue/tsconfig/tsconfig.node.json",
-  "include": ["vite.config.*", "vitest.config.*", "cypress.config.*", "playwright.config.*"],
+  "include": [
+    "vite.config.*",
+    "vitest.config.*",
+    "cypress.config.*",
+    "playwright.config.*"
+  ],
   "compilerOptions": {
+    "ignoreDeprecations": "5.0",
     "composite": true,
-    "types": ["node"]
+    "types": [
+      "node"
+    ]
   }
 }