Commit 5d7f3ef2 authored by bianxiaokai's avatar bianxiaokai

fix:解决defautl-value传入后,用户滑动选项列表后,defalut-value不生效的问题

parent a6ebb34a
......@@ -340,6 +340,8 @@ export default {
if (this.moving) return;
// #endif
if (event) this.$emit(event, this.selectValue);
// 重置default-value默认值
this.$set(this, 'defaultSelector', [0]);
this.close();
},
selectHandler() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment