更新
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
<span style="margin-right: 10px;"><img src="../assets/coin.png" width="30"/></span>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-button type="button" :class="'el-button el-button--primary'" @click="sign">签到</el-button>
|
||||
<el-tooltip class="item" effect="dark" content="用户激活" placement="top">
|
||||
<div class="left" @click="toActive">
|
||||
<span>会员信息:</span>
|
||||
@@ -217,6 +218,14 @@ import AiPayment from "@/components/AiPayment.vue";
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
sign () {
|
||||
this.$http.post(`/api/malluser/sign`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success('签到成功')
|
||||
this.$store.dispatch('getUserInfo')
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user