diff --git a/pages/learning/learning.vue b/pages/learning/learning.vue index aa18388..5d93f3a 100644 --- a/pages/learning/learning.vue +++ b/pages/learning/learning.vue @@ -102,6 +102,17 @@ buyshow: false, //购买弹框 }; }, + onShow() { + const that = this + const value = uni.getStorageSync('Refresh'); + const nursePersonId = uni.getStorageSync('nursePersonId'); + if (value) { + uni.removeStorageSync('Refresh'); + that.nurseStationPersonId = nursePersonId + that.infos(); + that.info(); + } else {} + }, onLoad(options) { const that = this this.baseurl = baseurl