Handy_Cao 1 年之前
父节点
当前提交
7fca22532f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/packages/pc/views/footer/capital/summary/withdraw/index.vue

+ 2 - 2
src/packages/pc/views/footer/capital/summary/withdraw/index.vue

@@ -131,7 +131,7 @@ const formSubmit = () => {
         }
 
         // 请求等待可能会超过30秒导致请求超时,所以2秒内没回应直接提示成功
-        const t = setTimeout(() => complete(), 2000)
+        const time = setTimeout(() => complete(), 2000)
 
         onSubmit().then(() => {
             if (!isComplete) {
@@ -143,7 +143,7 @@ const formSubmit = () => {
                 ElMessage.error(t('common.submitfailure') + err)
             }
         }).finally(() => {
-            window.clearTimeout(t)
+            window.clearTimeout(time)
         })
     } else {
         ElMessage.error('未签约')