From 2c0e17a8b127a1e2cf3c6b49395a0dc33a4307da Mon Sep 17 00:00:00 2001 From: youmengting <2080639302@qq.com> Date: Wed, 14 Jun 2023 10:08:40 +0800 Subject: [PATCH] share-10:08 --- pages/welcome/welcome.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/welcome/welcome.vue b/pages/welcome/welcome.vue index d255150..3b25de9 100644 --- a/pages/welcome/welcome.vue +++ b/pages/welcome/welcome.vue @@ -17,7 +17,7 @@ } }, - onLoad(options) { + async onLoad(options) { let that = this; // #ifdef MP app.globalData.accountId = options.accountId; @@ -31,6 +31,7 @@ if (arr2[1] != undefined && arr2[2] == '1#/') { app.globalData.h5code = arr2[1]; + await that.getH5AccessToken(); uni.setStorage({ key: "h5code", data: arr2[1]