diff --git a/package.json b/package.json index 0ad399a..295dade 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ }, "dependencies": { "@element-plus/icons-vue": "^1.0.0", - "@wangeditor/editor": "^0.15.7", - "@wangeditor/editor-for-vue": "^5.1.8-9", + "@wangeditor/editor": "^5.0.0", + "@wangeditor/editor-for-vue": "^5.1.10", "axios": "^0.24.0", "better-scroll": "^2.4.2", "echarts": "^5.2.2", diff --git a/tsconfig.json b/tsconfig.json index 1b976aa..cb8c7d3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,7 +16,8 @@ }, "allowSyntheticDefaultImports": true, // 默认导入 "skipLibCheck": true, // 不对第三方依赖类型检查 ,element-plus 生产打包报错 - "types": ["vite-plugin-svg-icons/client"] + "types": ["vite-plugin-svg-icons/client","element-plus/global"] + }, "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"] }