소스 검색

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 = {