diff --git a/src/App.vue b/src/App.vue index de94b6d..9b72032 100644 --- a/src/App.vue +++ b/src/App.vue @@ -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)