UI优化,红包领取后缺少头像,名称字段
This commit is contained in:
@@ -7,13 +7,14 @@
|
||||
getUserThirdPayList,
|
||||
getUserBankList,
|
||||
getUserWithdrawConfig,
|
||||
getUserIntegral,
|
||||
addUserWithdraw,
|
||||
getUserPayPwd
|
||||
} from '@/api/my-index'
|
||||
import { useUI } from '@/utils/use-ui'
|
||||
import { useAuthUser } from '@/composables/useAuthUser'
|
||||
|
||||
const { showToast, showDialog } = useUI()
|
||||
const { integralData } = useAuthUser()
|
||||
|
||||
const tixian = ref(null)
|
||||
const popup = ref(null)
|
||||
@@ -43,12 +44,6 @@
|
||||
return Number(value.toFixed(2))
|
||||
})
|
||||
|
||||
/** 获取积分 */
|
||||
const getIntegral = async () => {
|
||||
const res = await getUserIntegral()
|
||||
withdrawData.availablePoints = res.data.availablePoints
|
||||
}
|
||||
|
||||
const getData = async () => {
|
||||
const res = await getUserWithdrawConfig(topData.value.withdrawalType)
|
||||
withdrawData.minAmount = res.data.minAmount
|
||||
@@ -134,7 +129,7 @@
|
||||
}
|
||||
|
||||
onShow(() => {
|
||||
getIntegral()
|
||||
withdrawData.availablePoints = integralData.value
|
||||
getList()
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user