[bugfix] Area: should reset index when area list changed (#678)

This commit is contained in:
neverland 2018-03-09 16:21:47 +08:00 committed by GitHub
parent 7926bf4d7c
commit 0160ae2240
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,10 @@ export default create({
watch: {
value() {
this.setIndex();
},
areaList() {
this.setIndex();
}
},