|
@@ -116,7 +116,7 @@ const doDepositWarning = () => {
|
|
|
ElMessageBox.confirm(
|
|
ElMessageBox.confirm(
|
|
|
t('banksign.wallet.deposit.whetherthedeposittransferhasbeenmadeatthebankend') ,
|
|
t('banksign.wallet.deposit.whetherthedeposittransferhasbeenmadeatthebankend') ,
|
|
|
t('common.tips'),
|
|
t('common.tips'),
|
|
|
- { confirmButtonText: '确认', cancelButtonText: '取消', })
|
|
|
|
|
|
|
+ { confirmButtonText: t('operation.confirm'), cancelButtonText: t('operation.cancel'), })
|
|
|
.then(() => {
|
|
.then(() => {
|
|
|
formSubmit()
|
|
formSubmit()
|
|
|
}).catch(() => {
|
|
}).catch(() => {
|
|
@@ -153,7 +153,7 @@ const formSubmit = () => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 请求等待可能会超过30秒导致请求超时,所以2秒内没回应直接提示成功
|
|
// 请求等待可能会超过30秒导致请求超时,所以2秒内没回应直接提示成功
|
|
|
- const t = setTimeout(() => complete(), 2000)
|
|
|
|
|
|
|
+ const time = setTimeout(() => complete(), 2000)
|
|
|
|
|
|
|
|
onSubmit().then(() => {
|
|
onSubmit().then(() => {
|
|
|
if (!isComplete) {
|
|
if (!isComplete) {
|
|
@@ -162,10 +162,10 @@ const formSubmit = () => {
|
|
|
}).catch((err) => {
|
|
}).catch((err) => {
|
|
|
if (!isComplete) {
|
|
if (!isComplete) {
|
|
|
formData.Amount = undefined
|
|
formData.Amount = undefined
|
|
|
- ElMessage.error('提交失败:' + err)
|
|
|
|
|
|
|
+ ElMessage.error(t('common.submitfailure') + err)
|
|
|
}
|
|
}
|
|
|
}).finally(() => {
|
|
}).finally(() => {
|
|
|
- window.clearTimeout(t)
|
|
|
|
|
|
|
+ window.clearTimeout(time)
|
|
|
})
|
|
})
|
|
|
} else {
|
|
} else {
|
|
|
ElMessage.error('未签约')
|
|
ElMessage.error('未签约')
|