Browse Source

页面缩小不刷新

jbb 2 years ago
parent
commit
0a75dfa5f2
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/components/layouts/TabLayout.vue

+ 4 - 4
src/components/layouts/TabLayout.vue

@@ -83,11 +83,11 @@ export default {
     computed: {
         multipage () {
             // 判断如果是手机模式,自动切换为单页面模式
-            if (this.isMobile()) {
-                return false
-            } else {
+            // if (this.isMobile()) {
+            //     return false
+            // } else {
                 return this.$store.state.app.multipage
-            }
+            // }
         }
     },
     created () {