Date: Tue, 28 Dec 2021 17:00:34 +0800
Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E4=B8=8B=E6=8B=89=E5=88=97=E8=A1=A8?=
=?UTF-8?q?=E5=8D=95=E9=80=89=E6=A1=86=E4=B8=8D=E8=83=BD=E5=8F=96=E6=B6=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
frontend/src/components/widget/DeWidget/DeSelectGrid.vue | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/frontend/src/components/widget/DeWidget/DeSelectGrid.vue b/frontend/src/components/widget/DeWidget/DeSelectGrid.vue
index 6d7b520c7b..b2d842e3b7 100644
--- a/frontend/src/components/widget/DeWidget/DeSelectGrid.vue
+++ b/frontend/src/components/widget/DeWidget/DeSelectGrid.vue
@@ -23,7 +23,9 @@
- {{ item.id }}
+
+ {{ item.id }}
+
@@ -209,6 +211,10 @@ export default {
this.checkAll = checkedCount === this.datas.length
this.isIndeterminate = checkedCount > 0 && checkedCount < this.datas.length
this.changeValue(values)
+ },
+ testChange(item) {
+ this.value = this.value === item.id ? null : item.id
+ this.changeRadioBox(this.value)
}
}