|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: 王文杰
|
|
|
|
|
* @Date: 2024-03-14 11:16:28
|
|
|
|
|
* @LastEditors: 王文杰
|
|
|
|
|
* @LastEditTime: 2024-03-16 13:14:11
|
|
|
|
|
* @LastEditTime: 2024-03-17 15:38:59
|
|
|
|
|
* @FilePath: /app-nx-personal/src/pagesMember/payment/payment.vue
|
|
|
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
|
|
|
-->
|
|
|
|
@ -39,12 +39,13 @@ const handleSelected = (e) => {
|
|
|
|
|
activeIndex.value = e.target.dataset.val
|
|
|
|
|
}
|
|
|
|
|
const handleSubmit = async () => {
|
|
|
|
|
// 如果数据出于加载中,退出函数
|
|
|
|
|
if (isLoading.value) return
|
|
|
|
|
const amount = moneyList[activeIndex.value].val
|
|
|
|
|
const params = {
|
|
|
|
|
amount,
|
|
|
|
|
}
|
|
|
|
|
// 如果数据出于加载中,退出函数
|
|
|
|
|
if (isLoading.value) return
|
|
|
|
|
|
|
|
|
|
isLoading.value = true
|
|
|
|
|
const res = await getDrawCashAPI(params)
|
|
|
|
|
isLoading.value = false
|
|
|
|
|