Handy_Cao 1 éve
szülő
commit
97d43d0afb

+ 4 - 4
src/packages/pc/views/footer/capital/summary/deposit/index.vue

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