This commit is contained in:
liushiwei
2023-10-15 22:25:05 +08:00
parent f3f8ba6e40
commit a26050de73
2 changed files with 9 additions and 340 deletions

View File

@@ -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')
}
})
}
}
}