diff --git a/components/CommonPane/indexSystem.vue b/components/CommonPane/indexSystem.vue index 93d1045..73555cb 100644 --- a/components/CommonPane/indexSystem.vue +++ b/components/CommonPane/indexSystem.vue @@ -47,10 +47,10 @@ type: Array, default: () => [] }, - flowList: { - type: Array, - default: () => [] - }, + // flowList: { + // type: Array, + // default: () => [] + // }, showAdd: { type: Boolean, default: false @@ -94,20 +94,19 @@ menuList: { handler(val) { console.log(this.current,'this.current---') - console.log(this.flowList,'this.flowList---') - if (this.current != 0) this.cardData = this.flowList - }, - immediate: true - }, - flowList: { - handler(val) { - console.log(this.current,'this.current---') - console.log(this.menuList,'this.menuList---') - // if (this.current == 0) this.cardData = this.menuList this.cardData = this.menuList }, immediate: true - } + }, + // flowList: { + // handler(val) { + // console.log(this.current,'this.current---') + // console.log(this.menuList,'this.menuList---') + // // if (this.current == 0) this.cardData = this.menuList + // this.cardData = this.menuList + // }, + // immediate: true + // } }, created() { this.userInfo = uni.getStorageSync('userInfo') || {} @@ -124,8 +123,9 @@ }, tabChange(index) { this.current = index; - if (this.tabType === 'menu') this.cardData = this.menuList - if (this.tabType === 'flow') this.cardData = this.flowList + // if (this.tabType === 'menu') + this.cardData = this.menuList + // if (this.tabType === 'flow') this.cardData = this.flowList }, clickItem(item) { this.$emit('launch', { diff --git a/pages/index/indexWork.vue b/pages/index/indexWork.vue index 374dbdf..6a6ce37 100644 --- a/pages/index/indexWork.vue +++ b/pages/index/indexWork.vue @@ -44,7 +44,7 @@ :menuList="homeData.commonUseMenuList || []" @launch="launch" v-if="homeData.commonUseEnable" @openPage="openPage" :flowEnabled="homeData.flowEnabled" /> --> - @@ -100,12 +100,12 @@ - + /> 暂无数据