+
+
+ 用户注册
+
+
+
+
+
+
+
+ 男
+ 女
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 注册
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/order-system/tsconfig.app.json b/order-system/tsconfig.app.json
index 7cdf423..a040218 100644
--- a/order-system/tsconfig.app.json
+++ b/order-system/tsconfig.app.json
@@ -2,42 +2,29 @@
"extends": "@vue/tsconfig/tsconfig.dom.json",
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
- // 添加以下路径配置
"baseUrl": ".",
"paths": {
- "@/*": [
- "src/*"
- ],
- "@/api/*": [
- "src/api/*"
- ]
+ "@/*": ["src/*"],
+ "@/api/*": ["src/api/*"]
},
- // 添加必要的库支持
- "lib": [
- "ESNext",
- "DOM",
- "DOM.Iterable"
- ],
- "types": [
- "vite/client"
- ],
- // 添加模块解析配置
+ "lib": ["ESNext", "DOM", "DOM.Iterable"],
+ "types": ["vite/client"],
"module": "ESNext",
"moduleResolution": "bundler",
- // 确保包含以下选项
"target": "ESNext",
"esModuleInterop": true,
"resolveJsonModule": true,
"strict": true,
"jsx": "preserve",
"downlevelIteration": true,
+ "skipLibCheck": true,
+ "allowSyntheticDefaultImports": true
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"vite-env.d.ts",
- "vite.config.ts",
"src/api/**/*.ts"
]
}
\ No newline at end of file
diff --git a/order-system/vite.config.ts b/order-system/vite.config.ts
index 9017f29..8c3e300 100644
--- a/order-system/vite.config.ts
+++ b/order-system/vite.config.ts
@@ -10,7 +10,7 @@ export default defineConfig(({ mode }) => {
return {
define: {
// 替换为全局变量
- __APP_BASE_URL__: JSON.stringify("http://localhost:8089")
+ __APP_BASE_URL__: JSON.stringify("http://localhost:8089"),
},
plugins: [vue()],
server: {
@@ -50,6 +50,4 @@ export default defineConfig(({ mode }) => {
chunkSizeWarningLimit: 1500
}
}
-
-
-})
+})
\ No newline at end of file