tenghui-ui 2.4.19 → 2.4.21
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/package.json
CHANGED
|
@@ -670,10 +670,8 @@ export default {
|
|
|
670
670
|
model(val) {
|
|
671
671
|
|
|
672
672
|
let modelVal = val;
|
|
673
|
-
if (this.type == 'select') {
|
|
674
|
-
if (
|
|
675
|
-
modelVal = val.map(v => v.toString());
|
|
676
|
-
} else if (val || val === 0) {
|
|
673
|
+
if (this.type == 'select' && !this.multiple) {
|
|
674
|
+
if (val || val === 0) {
|
|
677
675
|
modelVal = val.toString();
|
|
678
676
|
}
|
|
679
677
|
}
|