'admin-21.05.12:优化全局切换组件size不生效、更新最新依赖等'

This commit is contained in:
lyt 2021-05-12 11:47:00 +08:00
parent 3994b89d4a
commit 0378226aee
3 changed files with 29 additions and 12 deletions

24
.gitignore vendored
View File

@ -1,6 +1,22 @@
node_modules
.DS_Store
dist
dist-ssr
*.local
.vscode
/dist
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

View File

@ -11,7 +11,7 @@
"dependencies": {
"axios": "^0.21.1",
"clipboard": "^2.0.8",
"core-js": "^3.12.0",
"core-js": "^3.12.1",
"countup.js": "^2.0.7",
"echarts": "^5.1.1",
"element-ui": "^2.15.1",
@ -30,14 +30,14 @@
"xlsx": "^0.16.9"
},
"devDependencies": {
"@eslint/eslintrc": "^0.4.0",
"@vue/cli-plugin-babel": "~4.5.12",
"@vue/cli-plugin-eslint": "~4.5.12",
"@vue/cli-plugin-router": "~4.5.12",
"@vue/cli-plugin-vuex": "~4.5.12",
"@vue/cli-service": "~4.5.12",
"@eslint/eslintrc": "^0.4.1",
"@vue/cli-plugin-babel": "~4.5.13",
"@vue/cli-plugin-eslint": "~4.5.13",
"@vue/cli-plugin-router": "~4.5.13",
"@vue/cli-plugin-vuex": "~4.5.13",
"@vue/cli-service": "~4.5.13",
"babel-eslint": "^10.1.0",
"eslint": "^7.25.0",
"eslint": "^7.26.0",
"eslint-plugin-vue": "^7.9.0",
"sass": "^1.32.12",
"sass-loader": "^10.1.1",

View File

@ -126,6 +126,7 @@ export default {
setLocal('themeConfig', this.$store.state.themeConfig.themeConfig);
this.$ELEMENT.size = size;
this.initComponentSize();
window.location.reload();
},
//
onLanguageChange(lang) {