@tagplus/components 0.2.101 → 0.2.102
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.
- package/dist/tp.common.js +38 -34
- package/dist/tp.common.js.map +1 -1
- package/dist/tp.css +1 -1
- package/dist/tp.umd.js +38 -34
- package/dist/tp.umd.js.map +1 -1
- package/dist/tp.umd.min.js +1 -1
- package/dist/tp.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Multisuggest/Multisuggest.vue +11 -9
package/package.json
CHANGED
|
@@ -457,14 +457,16 @@ export default {
|
|
|
457
457
|
}
|
|
458
458
|
})
|
|
459
459
|
|
|
460
|
-
this.value
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
this.
|
|
460
|
+
if(Array.isArray(this.value)){
|
|
461
|
+
this.value.forEach((item,key) => {
|
|
462
|
+
if (item[this.valueKey]) {
|
|
463
|
+
this.value[key] = item[this.valueKey]
|
|
464
|
+
if(item[this.labelKey]) {
|
|
465
|
+
this.selectedLabelsArray.push(item)
|
|
466
|
+
}
|
|
465
467
|
}
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
+
})
|
|
469
|
+
}
|
|
468
470
|
|
|
469
471
|
this.selectedLabels = this.selectedLabelsArray
|
|
470
472
|
.map(item => {
|
|
@@ -761,9 +763,9 @@ input.el-input__inner {
|
|
|
761
763
|
}
|
|
762
764
|
|
|
763
765
|
&.selected {
|
|
764
|
-
color: #
|
|
766
|
+
color: #2d6eda;
|
|
765
767
|
padding-left: 30px;
|
|
766
|
-
background-color: #
|
|
768
|
+
background-color: #f0f3f9;
|
|
767
769
|
border-radius: 5px;
|
|
768
770
|
font-weight: none;
|
|
769
771
|
|