This commit is contained in:
梁灏 2017-05-04 10:33:50 +08:00
parent 5d5f8dc8c6
commit 687c4562f1
3 changed files with 7 additions and 10 deletions

View file

@ -172,8 +172,7 @@
}
}
},
mounted () {
this.updateSelected(true);
created () {
this.$on('on-result-change', (params) => {
// lastValue: is click the final val
// fromInit: is this emit from update value
@ -201,6 +200,9 @@
}
});
},
mounted () {
this.updateSelected(true);
},
watch: {
visible (val) {
if (val) {