修复: 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 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"dev": "vite --mode web",
"build": "vue-tsc -b && vite build",
"preview": "vite preview",
"tauri": "tauri",