- 删除 '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
- 删除 '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