优化提现页面

This commit is contained in:
TOP糯米 2023-04-01 10:15:07 +08:00
parent cb965ac04d
commit 27b102cab5
1 changed files with 2 additions and 8 deletions

View File

@ -31,7 +31,6 @@
<script> <script>
import AppLayout from "@/components/layout/layout"; import AppLayout from "@/components/layout/layout";
import { mapState } from "vuex";
export default { export default {
name: "member-cash-withdraw", name: "member-cash-withdraw",
data() { data() {
@ -45,14 +44,9 @@ export default {
components: { components: {
AppLayout, AppLayout,
}, },
computed: { computed: {},
...mapState({
userInfo: (state) => state.user.info,
}),
},
onLoad() {}, onLoad() {},
async onShow() { onShow() {
await this.$store.dispatch("user/info", true);
this.$models.user.serviceData().then((data) => { this.$models.user.serviceData().then((data) => {
this.balance = data.disposableBalance; this.balance = data.disposableBalance;
}); });