修复: 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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user