Browse Source

问题修复

hbchen 2 years ago
parent
commit
ad5279abb1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pages/pc.vue

+ 1 - 0
pages/pc.vue

@@ -118,6 +118,7 @@ export default {
                         // console.log(`${pcBaseUrl}${mapObj.get(decodeURIComponent(options.xcxPath))||'/'}?${paramsObjStr}${data.environment=='wxwork'?'':'#wechat_redirect'}`);
 					},
 					fail: (err) => {
+						this.url=`${pcBaseUrl}${mapObj.get(decodeURIComponent(options.xcxPath))||'/'}?${paramsObjStr}#wechat_redirect`
 						console.log(err);
 					}
 			})