|
@@ -54,9 +54,9 @@ const SettleStyle = {
|
|
|
},
|
|
|
handleChange(value) {
|
|
|
this.defaultVal = value;
|
|
|
- const settleStyleName = this.list.find(item => item[this.defValKey] == value).name
|
|
|
+ const settleStyleName = this.list.find(item => item[this.defValKey] == value)
|
|
|
this.$emit('input', value);
|
|
|
- this.$emit('change', this.value, settleStyleName);
|
|
|
+ this.$emit('change', this.value, settleStyleName?settleStyleName.name:'');
|
|
|
},
|
|
|
// 列表数据
|
|
|
getList () {
|