fix: 修复多个运行时崩溃和功能bug,优化画布连接线和剧本评分

- 修复 EcommercePage generateEcommerceImage 调用不存在变量导致运行时崩溃
- 修复 DigitalHumanPage/ImageWorkbenchPage 变量名错误导致页面不可用
- 修复 ecommerceVideoService token 读取用错 key 导致请求 401
- 修复画布连接线在弹窗出现后仍跟随鼠标的问题
- 剧本评分 .docx 文件改为服务端 mammoth 解析(新增 /api/files/extract-text)
- ErrorBoundary 加 key 支持切换页面时自动重置
- Vite proxy 改为指向公网域名 omniai.net.cn
- 新增视频生成历史记录面板和删除确认弹窗

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-04 01:12:51 +08:00
parent 6bb71fcc19
commit 7c6129555b
12 changed files with 637 additions and 105 deletions
+3 -4
View File
@@ -11,17 +11,16 @@ export default defineConfig(({ mode }) => {
compression({ algorithms: ["gzip", "brotliCompress"], threshold: 1024 }),
],
server: {
port: 5174,
port: 5173,
host: "127.0.0.1",
proxy: {
"/api": {
target: env.VITE_DEV_PROXY || "http://47.110.225.76:3600",
target: env.VITE_DEV_PROXY || "https://omniai.net.cn",
changeOrigin: true,
},
"/dashscope-api": {
target: "https://dashscope.aliyuncs.com",
target: "https://omniai.net.cn",
changeOrigin: true,
rewrite: (path) => path.replace(/^\/dashscope-api/, "/compatible-mode/v1"),
},
},
},