优化代码

This commit is contained in:
java110 2020-08-11 17:58:47 +08:00
parent 3f8477001e
commit 98ba8f5fa1

View File

@ -376,11 +376,6 @@ 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;
@ -389,7 +384,6 @@ const onLoad = function(_option) {
factory.login._doLoginOwnerByKey(_key);
}
let wAppId = _option.wAppId;
if (wAppId != null && wAppId != undefined && wAppId != '') {