diff --git a/App.vue b/App.vue index 44d36bd..9f05fc1 100644 --- a/App.vue +++ b/App.vue @@ -46,7 +46,7 @@ console.log(e); } } - console.log('App Launch', uni.getSystemInfoSync()) + console.log('App Launch') this.$store.dispatch('initConfig'); this.$isResolve() try { diff --git a/subpkg/withdrawDeposit/company.vue b/subpkg/withdrawDeposit/company.vue index 13af8a2..531a6e6 100644 --- a/subpkg/withdrawDeposit/company.vue +++ b/subpkg/withdrawDeposit/company.vue @@ -84,7 +84,7 @@ // 获取可提现的数据 async loadWithddrawInfo(){ let res = await getCurrCycleWithdraw(); - this.payMoney.money = res.data.user_currrent_total_withdraw_money; + this.payMoney.money = parseFloat(res.data?.user_currrent_total_withdraw_money).toFixed(2); res.data.end_cycle ? this.payMoney.end_cycle = uni.$u.timeFormat(res.data.end_cycle, 'yyyy-mm-dd') : this.payMoney.end_cycle||''; }, // 提现