修复: PropsPanel.vue 残缺 defineEmits 导致 Vue SFC 编译失败

- 删除 'const emit = defineEmits' 错误行(无泛型参数且未调用)
- PropsPanel 不 emit 事件,直接调 store.xxx
- 修复变量名 CHART_TYPES 拼写
- 简化 vite.config.ts 用 mode 参数区分 Web/桌面模式
- npm run dev → mode=web,端口8080; tauri:dev → mode=default,端口5173
This commit is contained in:
2026-07-12 22:55:06 +08:00
parent 9e0a808635
commit a5ebfd8b74
4 changed files with 11 additions and 10 deletions

View File

@@ -5,7 +5,7 @@
"identifier": "com.uppt.desktop",
"build": {
"frontendDist": "../dist",
"devUrl": "http://localhost:5173",
"devUrl": "http://127.0.0.1:5173",
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build"
},
@@ -18,7 +18,8 @@
"minWidth": 900,
"minHeight": 600,
"resizable": true,
"fullscreen": false
"fullscreen": false,
"devtools": true
}
],
"security": {