提交 e21c7438 编写于 作者: xinglee23's avatar xinglee23

fix: add activity check

上级 3631ec6d
......@@ -159,14 +159,15 @@ export default {
},
methods: {
activityCheck(rightsNo) {
const activity = getActivityInfo({ unionId: '', rightsNo });
if (activity.code === '000000') {
this.errorMsg = activity.data.errorMsg;
}
getActivityInfo({ unionId: '', rightsNo }).then((res) => {
if (res.code === '000000') {
this.errorMsg = res.data.errorMsg;
if (this.errorMsg) {
return this.$toast(this.errorMsg);
}
if (this.errorMsg) {
return this.$toast(this.errorMsg);
}
}
});
},
handleActivityRemind() {
if (!this.errorMsg) return;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册