From fb7bca27eb17aedf33fe5a1e9be63eb43ec299eb Mon Sep 17 00:00:00 2001
From: QianRj <14974713+qianrj@user.noreply.gitee.com>
Date: 星期四, 06 二月 2025 20:20:40 +0800
Subject: [PATCH] fix 修复 路由守卫白名单通配符正则覆盖问题

---
 tsconfig.json |   53 +++++++++++++++++++++++++++++------------------------
 1 files changed, 29 insertions(+), 24 deletions(-)

diff --git a/tsconfig.json b/tsconfig.json
index 0272f98..6315891 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,26 +1,31 @@
 {
-	"compilerOptions": {
-		"target": "es2022",
-		"useDefineForClassFields": true,
-		"module": "esnext",
-		"moduleResolution": "node",
-		"strict": true,
-		"jsx": "preserve",
-		"sourceMap": true,
-		"resolveJsonModule": true,
-		"esModuleInterop": true,
-		"lib": ["esnext", "dom"],
-		"baseUrl": ".",
-		"allowJs": true,
-		"paths": {
-			"@/*": ["src/*"]
-		},
-		"types": ["vite/client"],
-		"skipLibCheck": true,
-		// 鍏佽榛樿瀵煎叆
-		"allowSyntheticDefaultImports": true,
-		"forceConsistentCasingInFileNames": true
-	},
-	"include": ["src/**/*.ts", "src/**/*.vue", "src/types/**/*.d.ts"],
-	"exclude": ["node_modules", "dist", "**/*.js"]
+  "compilerOptions": {
+    "target": "esnext",
+    "module": "esnext",
+    //    "useDefineForClassFields": true,
+    "moduleResolution": "bundler",
+    "strict": true,
+    "jsx": "preserve",
+    "strictNullChecks": false,
+    "sourceMap": true,
+    "resolveJsonModule": true,
+    "esModuleInterop": true,
+    "strictFunctionTypes": false,
+    "lib": ["esnext", "dom"],
+    "noImplicitAny": false,
+    "baseUrl": ".",
+    "allowJs": true,
+    "experimentalDecorators": true,
+    "paths": {
+      "@/*": ["src/*"]
+    },
+    "types": ["vite/client"],
+    "skipLibCheck": true,
+    "removeComments": true,
+    // 鍏佽榛樿瀵煎叆
+    "allowSyntheticDefaultImports": true,
+    "forceConsistentCasingInFileNames": true
+  },
+  "include": ["src/**/*.ts", "src/**/*.vue", "src/types/**/*.d.ts", "vite.config.ts"],
+  "exclude": ["node_modules", "dist", "**/*.js", "**/*.md", "src/**/*.md"]
 }

--
Gitblit v1.9.3