From d9a50ec4beb85f536591e77d8461bdb58c0a36e5 Mon Sep 17 00:00:00 2001 From: shidongli Date: Thu, 3 Nov 2022 13:33:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=BF=A1=E6=81=AF=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9patientid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/user/user.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/user/user.vue b/pages/user/user.vue index 8ea4a32..e158d7f 100644 --- a/pages/user/user.vue +++ b/pages/user/user.vue @@ -78,10 +78,11 @@ }, onLoad(options) { + let that = this uni.getStorage({ key: 'patientId', success: function(res) { - this.patientId = res.data + that.patientId = res.data } }); //获取传值