优化代码

This commit is contained in:
wuxw 2023-10-18 10:07:59 +08:00
parent 154ef170c6
commit 7db25b8d2b

View File

@ -75,6 +75,14 @@ export function autoLoginWechat(options) {
return; return;
} }
//todo 如果参数中带了wAppId
let _wAppId = options.wAppId;
if(_wAppId){
_generatorOpenId(options, _wAppId);
return;
}
let _objType = "1100"; // todo public let _objType = "1100"; // todo public
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
_objType = "1000"; _objType = "1000";