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

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

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