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) } }