提交 eab6c17d 编写于 作者: guangjun.yang's avatar guangjun.yang

测试是否是isWeb

上级 8848b82e
...@@ -187,6 +187,7 @@ export default { ...@@ -187,6 +187,7 @@ export default {
mounted() { mounted() {
this.getGoodsInfo(); this.getGoodsInfo();
this.getTabW(); this.getTabW();
console.log('this.isWeb ... isWechat - 1', this.isWeb, isWechat);
if(this.isWeb) { if(this.isWeb) {
const { token, info } = this.$store.state.user; const { token, info } = this.$store.state.user;
...@@ -457,6 +458,7 @@ export default { ...@@ -457,6 +458,7 @@ export default {
// } // }
// 在站外,则调用站外支付 // 在站外,则调用站外支付
console.log('this.isWeb ... isWechat - 2', this.isWeb, isWechat);
if(this.isWeb) { if(this.isWeb) {
console.log('in web...'); console.log('in web...');
if (isWechat) { if (isWechat) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册