diff --git a/src/mods/AppAddressBook/AppAddressBook.vue b/src/mods/AppAddressBook/AppAddressBook.vue index 56f6c1a..3be2895 100644 --- a/src/mods/AppAddressBook/AppAddressBook.vue +++ b/src/mods/AppAddressBook/AppAddressBook.vue @@ -56,8 +56,8 @@ export default { }, onLoad() { this.userInfo = uni.getStorageSync('userInfo') - this.areaId = this.$areaId - this.areaName = this.$areaName + this.areaId = this.$areaId + this.areaName = this.$areaName this.getList() }, @@ -88,11 +88,14 @@ export default { }) }, areaSelect(v) { - this.areaId = v - this.isMore = false - this.current = 0 - this.list = [] - + if(this.user.token) { + this.areaId = v + this.isMore = false + this.current = 0 + this.list = [] + } else { + this.areaId = this.$areaId + } this.$nextTick(() => { this.getList() }) diff --git a/src/mods/service/AppHealthReport/AddReport.vue b/src/mods/service/AppHealthReport/AddReport.vue index 8a7508a..a4eb4bb 100644 --- a/src/mods/service/AppHealthReport/AddReport.vue +++ b/src/mods/service/AppHealthReport/AddReport.vue @@ -116,10 +116,10 @@