提交 62be63ae 编写于 作者: 张磊's avatar 张磊

auto commit

上级 a27d3ca4
......@@ -332,23 +332,14 @@ export default {
}
);
},
getJumpToWebapp(t) {
getJumpToWebapp() {
if(this.picaWechat == 'wechat') {
return false;
}
const p = {params:{path:'pages/health/myCheck/index', query:'zl---test'}, type: 2};
getJumpToWebapp(p).then(res => {
console.log('--res', res);
if(t == 'href') {
window.location.href = res.data;
}else{
const a = document.createElement('a');
a.setAttribute('href', res.data);
a.setAttribute('target', '_blank');
// 防止反复添加
document.body.appendChild(a);
a.click();
}
window.location.href = res.data;
});
}
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册