xiaoxian521 2 rokov pred
rodič
commit
3c44909f47
1 zmenil súbory, kde vykonal 0 pridanie a 1 odobranie
  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) {
-  if (layout === $storage.layout.layout) return;
   layoutTheme.value.layout = layout;
   window.document.body.setAttribute("layout", layout);
   $storage.layout = {