We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d7f3ef commit fe02f0eCopy full SHA for fe02f0e
uview-ui/components/u-select/u-select.vue
@@ -333,15 +333,15 @@ export default {
333
},
334
close() {
335
this.$emit('input', false);
336
+ // 重置default-value默认值
337
+ this.$set(this, 'defaultSelector', [0]);
338
339
// 点击确定或者取消
340
getResult(event = null) {
341
// #ifdef MP-WEIXIN
342
if (this.moving) return;
343
// #endif
344
if (event) this.$emit(event, this.selectValue);
- // 重置default-value默认值
- this.$set(this, 'defaultSelector', [0]);
345
this.close();
346
347
selectHandler() {
0 commit comments