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

加入点日志

上级 8089c39e
......@@ -180,6 +180,7 @@ export default {
};
pointResult(param).then(res => {
this.loadingFlag = false;
alert(JSON.stringify(res));
if(res.code == '000000') {
if(res.data == '900001') {
this.$toast('不能给自己点赞哦');
......@@ -187,6 +188,7 @@ export default {
//this.$router.push({path: "/point-result",query: {code: res.data}});
let routeData = this.$router.resolve({path: "/point-result",query: {code: res.data}});
window.open(routeData.href, '_blank');
alert(JSON.stringify(routeData));
}
}else if(res.code == '300000') {
this.$toast(res.message);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册