mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 20:12:48 +00:00
fix: 会员选择框偶尔出现默认值错误的情况
This commit is contained in:
parent
d951a6057d
commit
e55a1d8713
@ -129,7 +129,10 @@
|
|||||||
watch: {
|
watch: {
|
||||||
value: {
|
value: {
|
||||||
handler() {
|
handler() {
|
||||||
this.valueChange()
|
const tmpId = this._tmpId = $A.randomString(6)
|
||||||
|
setTimeout(() => {
|
||||||
|
if (tmpId === this._tmpId) this.valueChange()
|
||||||
|
}, 10)
|
||||||
},
|
},
|
||||||
immediate: true,
|
immediate: true,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user