Browse Source

chore: update

xiaoxian521 2 years ago
parent
commit
3c44909f47
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/layout/components/setting/index.vue

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

@@ -204,7 +204,6 @@ const getThemeColor = computed(() => {
 
 
 /** 设置导航模式 */
 /** 设置导航模式 */
 function setLayoutModel(layout: string) {
 function setLayoutModel(layout: string) {
-  if (layout === $storage.layout.layout) return;
   layoutTheme.value.layout = layout;
   layoutTheme.value.layout = layout;
   window.document.body.setAttribute("layout", layout);
   window.document.body.setAttribute("layout", layout);
   $storage.layout = {
   $storage.layout = {