提交 1d956873 authored 作者: matian's avatar matian

update:打开注释代码部分

上级 d430092b
......@@ -76,16 +76,16 @@ export default {
mounted() {
this.id = this.$route.query.id;//从链接上获取活动id
console.log(this.id)
// if(this.id == ''||this.id == undefined){
// this.isShowError = true;
// return
// }
if(this.id == ''||this.id == undefined){
this.isShowError = true;
return
}
this.getSignInDetail(); //获取页面详情
},
methods: {
getSignInDetail() {
//调用签到详情接口
let id = this.id || "6833097708249546752";
let id = this.id;
signInDetail(id).then((res) => {
if (res.code == 0) {
this.signInfo = res.data;//获取签到详情数据
......@@ -111,7 +111,7 @@ export default {
},
//签到接口
getSignIn(){
let id = this.id || "6833097708249546752";//从链接上获取活动id
let id = this.id;//从链接上获取活动id
signIn(id).then((res)=>{
if (res.code == 0) {
this.status = res.data.status; //签到状态
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论