优化提现页面

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