diff --git a/components/CommonPane/indexSystem.vue b/components/CommonPane/indexSystem.vue index 83b8bbc..93d1045 100644 --- a/components/CommonPane/indexSystem.vue +++ b/components/CommonPane/indexSystem.vue @@ -93,13 +93,18 @@ watch: { 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) { - if (this.current == 0) this.cardData = this.menuList + 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 } diff --git a/pages/index/indexWork.vue b/pages/index/indexWork.vue index 9055630..374dbdf 100644 --- a/pages/index/indexWork.vue +++ b/pages/index/indexWork.vue @@ -392,6 +392,7 @@ getMenuData().then((res) => { const list = res?.data this.homeData = list + console.log(this.homeData,'homeData----') }).catch(() => { const userStore = useUserStore() setTimeout(() => {