fix: 会员选择框偶尔出现默认值错误的情况

This commit is contained in:
kuaifan 2022-04-07 22:51:12 +08:00
parent d951a6057d
commit e55a1d8713

View File

@ -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,
},