From 57ebfaedfe6364ab0c3beb1afe01c00fe2798a2c Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 06 六月 2024 10:28:54 +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 ce572f4..b31b7a1 100644
--- a/src/components/examinations/index.vue
+++ b/src/components/examinations/index.vue
@@ -426,7 +426,6 @@
   props: {
     cardList: {
       type: Array,
-      default: [],
     },
     primaryColor: {
       type: String,
@@ -446,6 +445,13 @@
       cardData:[]
     };
   },
+  watch:{
+    cardList:{
+      handler(newVal) {
+        console.log('11',newVal);
+      }
+    }
+  },
   mounted() {
     this.cardData = this.cardList
     console.log('this.cardList',this.cardList);

--
Gitblit v1.9.1