mali-applet-ui 1.0.98 → 1.0.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -226,7 +226,7 @@ export default {
|
|
|
226
226
|
}
|
|
227
227
|
labels.forEach(val => {
|
|
228
228
|
const item = this.itemList.find(item => item.value === val)
|
|
229
|
-
if (item
|
|
229
|
+
if (item) {
|
|
230
230
|
if (checked) {
|
|
231
231
|
if (!this.selection.includes(val)) {
|
|
232
232
|
this.selection.push(val)
|
|
@@ -122,7 +122,7 @@ export default {
|
|
|
122
122
|
}
|
|
123
123
|
labels.forEach(val => {
|
|
124
124
|
const item = this.itemList.find(item => item.value === val)
|
|
125
|
-
if (item
|
|
125
|
+
if (item) {
|
|
126
126
|
if (checked) {
|
|
127
127
|
if (!this.selection.includes(val)) {
|
|
128
128
|
this.selection.push(val)
|