From 494ba20f9f75d42cee0441cb2d9799f7e983b36d Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期四, 06 六月 2024 15:17:06 +0800 Subject: [PATCH] 优化 --- src/components/examinations/index.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/components/examinations/index.vue b/src/components/examinations/index.vue index 18f0ae1..b31b7a1 100644 --- a/src/components/examinations/index.vue +++ b/src/components/examinations/index.vue @@ -445,7 +445,13 @@ cardData:[] }; }, - inject:['changeQuestionData'], + watch:{ + cardList:{ + handler(newVal) { + console.log('11',newVal); + } + } + }, mounted() { this.cardData = this.cardList console.log('this.cardList',this.cardList); -- Gitblit v1.9.1