Browse Source

修复主页

宇宙无敌M1处理器的MacBook Pro 4 năm trước cách đây
mục cha
commit
534557151c

+ 3 - 1
components/page-component/app-quick-navigation/app-quick-navigation.vue

xqd xqd xqd
@@ -157,6 +157,7 @@
                             item[key] = this.oldData[key];
                         }
                     }
+					console.log(this.mall.setting)
                 } else {
                     let setting = this.mall.setting;
                     item = {
@@ -211,6 +212,7 @@
                         navSwitch: setting.is_quick_navigation,
                     }
                 }
+				console.log(item)
                 return item;
             },
             ...mapState({
@@ -237,7 +239,7 @@
                     this.currentRoute = `/${currPage.__route__.split('?')[0]}`;
                     // #endif
                     if (this.currentRoute === '/pages/index/index') {
-                        this.oldData.home.opened = false;
+                        this.oldData.home.opened = true;
                         // this.$emit('input', this.oldData);
                     } else {
                         this.oldData.home.opened = true;