mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Area: should reset index when area list changed (#678)
This commit is contained in:
parent
7926bf4d7c
commit
0160ae2240
@ -82,6 +82,10 @@ export default create({
|
|||||||
watch: {
|
watch: {
|
||||||
value() {
|
value() {
|
||||||
this.setIndex();
|
this.setIndex();
|
||||||
|
},
|
||||||
|
|
||||||
|
areaList() {
|
||||||
|
this.setIndex();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user