'admin-21.04.09:修复菜单部分文案错误的问题、更新最新依赖'

This commit is contained in:
lyt 2021-04-09 18:14:50 +08:00
parent 415e0b42c0
commit 49179b40de
3 changed files with 13 additions and 7 deletions

View File

@ -1,4 +1,5 @@
module.exports = {
root: true,
env: {
browser: true,
es2021: true,

View File

@ -14,7 +14,7 @@
"cropperjs": "^1.5.11",
"echarts": "^5.0.2",
"echarts-wordcloud": "^2.0.0",
"element-plus": "^1.0.2-beta.36",
"element-plus": "^1.0.2-beta.39",
"mitt": "^2.1.0",
"nprogress": "^0.2.0",
"print-js": "^1.6.0",
@ -22,11 +22,11 @@
"screenfull": "^5.1.0",
"sortablejs": "^1.13.0",
"vue": "^3.0.5",
"vue-i18n": "^9.0.0",
"vue-i18n": "^9.1.3",
"vue-router": "^4.0.2",
"vue-web-screen-shot": "^1.1.8",
"vuex": "^4.0.0-rc.2",
"wangeditor": "^4.6.12"
"wangeditor": "^4.6.14"
},
"devDependencies": {
"@types/axios": "^0.14.0",
@ -34,17 +34,17 @@
"@types/node": "^14.14.37",
"@types/nprogress": "^0.2.0",
"@types/sortablejs": "^1.10.6",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"@vitejs/plugin-vue": "^1.2.1",
"@vue/compiler-sfc": "^3.0.10",
"@vue/compiler-sfc": "^3.0.11",
"dotenv": "^8.2.0",
"eslint": "^7.23.0",
"eslint-plugin-vue": "^7.8.0",
"prettier": "^2.2.1",
"sass": "^1.32.8",
"sass-loader": "^11.0.1",
"typescript": "^4.2.3",
"typescript": "^4.2.4",
"vite": "^2.1.5",
"vue-eslint-parser": "^7.6.0"
}

View File

@ -39,6 +39,11 @@ const viteConfig: UserConfig = {
minify: 'esbuild',
sourcemap: false,
},
define: {
__VUE_I18N_LEGACY_API__: JSON.stringify(false),
__VUE_I18N_FULL_INSTALL__: JSON.stringify(false),
__INTLIFY_PROD_DEVTOOLS__: JSON.stringify(false),
},
};
export default viteConfig;