完善uniapp

This commit is contained in:
2026-07-16 00:35:50 +08:00
parent 61a937f7a3
commit 834c088aa2
29 changed files with 4444 additions and 305 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
// 开发服务器配置
server: {
host: '0.0.0.0', // 监听所有地址
port: 3000, // 默认端口
port: 4002, // 默认端口
open: true, // 自动打开浏览器
cors: true, // 启用 CORS
strictPort: false, // 端口被占用时尝试其他端口