From 70cbc77fbadc7958900034d14fc00f2334ac1d50 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Tue, 4 Aug 2020 14:29:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B3=A8=E5=86=8C=E7=9F=BF?= =?UTF-8?q?=E5=B1=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- context/Java110Context.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/context/Java110Context.js b/context/Java110Context.js index ffc3adb..1311787 100644 --- a/context/Java110Context.js +++ b/context/Java110Context.js @@ -375,19 +375,18 @@ const onLoad = function(_option) { console.log('参数打印',_option); // #ifdef H5 + let wAppId = _option.wAppId; + + if (wAppId != null && wAppId != undefined && wAppId != '') { + uni.setStorageSync(constant.mapping.W_APP_ID, _option.wAppId); + } + let _key = _option.key; if (_key != null && _key != undefined && _key != '') { //根据key 去做登录 factory.login._doLoginOwnerByKey(_key); } - - let wAppId = _option.wAppId; - - if (wAppId != null && wAppId != undefined && wAppId != '') { - uni.setStorageSync(constant.mapping.W_APP_ID, _option.wAppId); - } - // #endif }