This commit is contained in:
1154079537 2024-04-29 14:41:19 +08:00
parent 7ef94beda1
commit 58728db898
3 changed files with 8 additions and 3 deletions

View File

@ -59,7 +59,7 @@
"jszip": "3.2.1", "jszip": "3.2.1",
"moment": "^2.29.1", "moment": "^2.29.1",
"monaco-editor": "^0.19.3", "monaco-editor": "^0.19.3",
"node-sass": "^4.13.1", "node-sass": "^4.14.1",
"normalize.css": "7.0.0", "normalize.css": "7.0.0",
"nprogress": "0.2.0", "nprogress": "0.2.0",
"path-to-regexp": "2.4.0", "path-to-regexp": "2.4.0",

View File

@ -367,6 +367,8 @@ export default {
}, },
mounted() { mounted() {
this.initLayoutConfig(); this.initLayoutConfig();
this.onSetLayout("defaults");
}, },
methods: { methods: {
// //
@ -524,7 +526,7 @@ export default {
themeSelect["--prev-MenuActiveColor"] = "#fff"; themeSelect["--prev-MenuActiveColor"] = "#fff";
themeSelect["--prev-bg-menu-hover-ba-color"] = "#f34d37"; themeSelect["--prev-bg-menu-hover-ba-color"] = "#f34d37";
} }
} }
for (let key in themeSelect) { for (let key in themeSelect) {
document.documentElement.style.setProperty(key, themeSelect[key]); document.documentElement.style.setProperty(key, themeSelect[key]);
} }
@ -672,7 +674,7 @@ body .v-modal {
} }
.layout-breadcrumb-seting-bar { .layout-breadcrumb-seting-bar {
padding: 0 15px; padding: 0 15px;
.layout-breadcrumb-seting-bar-flex { .layout-breadcrumb-seting-bar-flex {
display: flex; display: flex;
align-items: center; align-items: center;

View File

@ -154,6 +154,9 @@ export default {
if (Local.get("themeConfigPrev")) { if (Local.get("themeConfigPrev")) {
this.initI18n(); this.initI18n();
this.initComponentSize(); this.initComponentSize();
} }
getBaseInfo() getBaseInfo()
.then(res => { .then(res => {