update Select

update Select
This commit is contained in:
梁灏 2017-01-04 11:25:59 +08:00
parent 8df36a0a03
commit 3ad47566a4
3 changed files with 60 additions and 2 deletions

View file

@ -310,8 +310,13 @@
value: value,
label: label
});
this.$dispatch('on-form-change', {
value: value,
label: label
});
} else {
this.$emit('on-change', value);
this.$dispatch('on-form-change', value);
}
}
}
@ -340,8 +345,10 @@
if (!init) {
if (this.labelInValue) {
this.$emit('on-change', hybridValue);
this.$dispatch('on-form-change', hybridValue);
} else {
this.$emit('on-change', value);
this.$dispatch('on-form-change', value);
}
}
}

View file

@ -35,7 +35,7 @@
.clearfix();
&-content {
position: relative;
line-height: 32px;
//line-height: 32px;
font-size: @font-size-small;
}