瀏覽代碼

chore: update

xiaoxian521 2 年之前
父節點
當前提交
3c44909f47
共有 1 個文件被更改,包括 0 次插入1 次删除
  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 = {