Skip to content

Commit

Permalink
fix: 会员选择框偶尔出现默认值错误的情况
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaifan committed Apr 7, 2022
1 parent d951a60 commit e55a1d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resources/assets/js/components/UserInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@
watch: {
value: {
handler() {
this.valueChange()
const tmpId = this._tmpId = $A.randomString(6)
setTimeout(() => {
if (tmpId === this._tmpId) this.valueChange()
}, 10)
},
immediate: true,
},
Expand Down

0 comments on commit e55a1d8

Please sign in to comment.