ZaiZai 6 months ago
parent
commit
016b5f4f24
2 changed files with 2 additions and 5 deletions
  1. 1 1
      public/version.json
  2. 1 4
      src/layout/index.vue

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20240822175634"
+  "value": "20240823093235"
 }

+ 1 - 4
src/layout/index.vue

@@ -100,10 +100,7 @@ onMounted(() => {
 })
 
 //监听layout
-watch(() => [
-    useRoutes?.query?.layout,
-    store.isLayout,
-], ([layout, layout2]) => {
+watch(() => [useRoutes?.query?.layout, store.isLayout], ([layout, layout2]) => {
     isLayout.value = layout ?? layout2
 }, { deep: true })