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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tenghui-ui",
3
- "version": "2.4.19",
3
+ "version": "2.4.21",
4
4
  "description": "vue 2x, tenghui-ui",
5
5
  "files": [
6
6
  "dist",
@@ -670,10 +670,8 @@ export default {
670
670
  model(val) {
671
671
 
672
672
  let modelVal = val;
673
- if (this.type == 'select') {
674
- if (Array.isArray(val)) {
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
  }