From aa105c0ff05dba119512d3dcfe4f8a5ea4121405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Thu, 27 Apr 2023 11:12:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/learning/learning.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) 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