提交 c44ae02e 编写于 作者: tao.wu's avatar tao.wu

修改首次领取文案的显示错误问题

上级 769bdb52
......@@ -202,7 +202,6 @@
// 注意,如果清除微信或者浏览器缓存,则将停留在当前这个页面并且再次填写手机号以做登录
window.localStorage.setItem('mobilePhone', mobilePhone);
window.localStorage.setItem('status', res.data);
alert('领取状态getCourseById接口'+JSON.stringify(res))
this.$router.push({
name: 'shareResult',
query: {
......
......@@ -69,9 +69,7 @@
}
},
mounted(){
alert(JSON.stringify(this.$route.query));
alert(this.$route.query.status=='true');
if(this.$route.query.status=='true'){
if(this.$route.query.status.toString()=='true'){
this.statusTxt = '领取成功';
}else{
this.statusTxt = '您已领取';
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册