Browse Source

fix: update

xiaoxian521 3 years ago
parent
commit
cbc6743b5a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      public/serverConfig.json
  2. 1 1
      src/layout/components/setting/index.vue

+ 1 - 1
public/serverConfig.json

@@ -1,5 +1,5 @@
 {
-  "Version": "2.0.0",
+  "Version": "2.6.0",
   "Title": "PureAdmin",
   "FixedHeader": true,
   "HiddenSideBar": false,

+ 1 - 1
src/layout/components/setting/index.vue

@@ -65,7 +65,7 @@ if (unref(layoutTheme)) {
   toggleTheme({
     scopeName: `layout-theme-${theme}`
   });
-  window.document.body.setAttribute("layout", layout);
+  setLayoutModel(layout);
 }
 
 // 默认灵动模式