1
This commit is contained in:
1 parent
9d2feb09bb
commit
2f34b15cb1
1 file changed
+1
-1
+1
-1
@@ -73,7 +73,7 @@ export default {
|
||||
console.log("环境判断")
|
||||
// 诗画浦江获取用户信息进行环境判断
|
||||
const res = await (window as any).CP2.getAppInfo()
|
||||
if (res.code !== 0) {
|
||||
if (res.code == 0) {
|
||||
// 不是诗画环境
|
||||
const launchParam = new URL(window.location.href).searchParams.get("launchParam")
|
||||
console.log("app launch 启动路径参数", launchParam)
|
||||
|
||||
Reference in new issue
Block a user