From db52dab7d0444c0195d6d503e7859c52ea8a0396 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Thu, 23 Nov 2023 09:17:39 +0800 Subject: [PATCH] =?UTF-8?q?props=E7=BB=91=E5=AE=9Av-model=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mycomponents/job/jobFilter.vue | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/mycomponents/job/jobFilter.vue b/mycomponents/job/jobFilter.vue index 6a5948a6..695ef2de 100644 --- a/mycomponents/job/jobFilter.vue +++ b/mycomponents/job/jobFilter.vue @@ -47,11 +47,7 @@ winScanJobNumber, winScanAsnNumber }, - data() { - return { - dataContent: {}, - } - }, + props: { checkedToday: { type: Boolean, @@ -70,10 +66,18 @@ default: false } }, + data() { + return { + dataContent: {}, + checkedToday:'', + checkedWaitTask:'', + } + }, watch: { }, mounted() { - + this.checkedToday = this.checkedToday + this.checkedWaitTask = this.checkedWaitTask }, methods: { // 点击遮罩