perf: 优化国际化,路由不再传i18n字段,平台自动读取根目录locales文件夹下文件进行国际化匹配

This commit is contained in:
xiaoxian521
2022-05-11 15:25:01 +08:00
parent f35dea840e
commit 9067d88c3b
37 changed files with 411 additions and 430 deletions

View File

@@ -28,13 +28,13 @@
],
"dependencies": {
"@amap/amap-jsapi-loader": "^1.0.1",
"@ctrl/tinycolor": "^3.4.0",
"@logicflow/core": "^1.1.14",
"@logicflow/extension": "^1.1.14",
"@ctrl/tinycolor": "^3.4.1",
"@logicflow/core": "^1.1.15",
"@logicflow/extension": "^1.1.15",
"@pureadmin/components": "^1.0.6",
"@vueuse/core": "^8.3.1",
"@vueuse/core": "^8.4.2",
"@vueuse/motion": "^2.0.0-beta.12",
"@vueuse/shared": "^8.3.1",
"@vueuse/shared": "^8.4.2",
"@wangeditor/editor": "^5.0.1",
"@wangeditor/editor-for-vue": "^5.1.10",
"animate.css": "^4.1.1",
@@ -42,10 +42,10 @@
"china-area-data": "^5.0.1",
"cropperjs": "^1.5.12",
"css-color-function": "^1.3.3",
"dayjs": "^1.11.0",
"dayjs": "^1.11.2",
"driver.js": "^0.9.8",
"echarts": "^5.3.2",
"element-plus": "^2.1.11",
"element-plus": "2.1.11",
"element-resize-detector": "^1.2.3",
"js-cookie": "^3.0.1",
"jsbarcode": "^3.11.5",
@@ -56,7 +56,7 @@
"mockjs": "^1.1.0",
"nprogress": "^0.2.0",
"path": "^0.12.7",
"pinia": "^2.0.13",
"pinia": "^2.0.14",
"qrcode": "^1.5.0",
"qs": "^6.10.1",
"resize-observer-polyfill": "^1.5.1",
@@ -68,12 +68,12 @@
"vue-form-create2": "^1.2.8",
"vue-i18n": "^9.2.0-beta.35",
"vue-json-pretty": "^2.0.2",
"vue-router": "^4.0.14",
"vue-router": "^4.0.15",
"vue-types": "^4.1.1",
"vuedraggable": "4.1.0",
"vxe-table": "^4.2.0",
"vxe-table": "^4.2.3",
"xe-utils": "^3.5.4",
"xgplayer": "^2.31.4"
"xgplayer": "^2.31.6"
},
"devDependencies": {
"@commitlint/cli": "13.1.0",
@@ -100,8 +100,8 @@
"@types/qs": "^6.9.7",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"@vitejs/plugin-legacy": "^1.8.1",
"@vitejs/plugin-vue": "^2.3.1",
"@vitejs/plugin-legacy": "^1.8.2",
"@vitejs/plugin-vue": "^2.3.2",
"@vitejs/plugin-vue-jsx": "^1.3.10",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^10.0.0",
@@ -123,7 +123,7 @@
"rimraf": "3.0.2",
"rollup": "^2.70.1",
"rollup-plugin-visualizer": "^5.6.0",
"sass": "^1.50.1",
"sass": "^1.51.0",
"stylelint": "^14.3.0",
"stylelint-config-html": "^1.0.0",
"stylelint-config-prettier": "^9.0.3",
@@ -131,11 +131,11 @@
"stylelint-config-standard": "^24.0.0",
"stylelint-order": "^5.0.0",
"typescript": "^4.6.3",
"unocss": "^0.32.13",
"unocss": "^0.33.2",
"vite": "^2.9.6",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-remove-console": "^0.0.7",
"vite-svg-loader": "2.2.0",
"vite-svg-loader": "^3.3.0",
"vue-eslint-parser": "^8.2.0"
},
"repository": "git@github.com:xiaoxian521/vue-pure-admin.git",