|
@@ -82,14 +82,12 @@ const formSubmit = () => {
|
|
|
formData.extend_info = JSON.stringify(obj)
|
|
formData.extend_info = JSON.stringify(obj)
|
|
|
if (formData.CusBankID) {
|
|
if (formData.CusBankID) {
|
|
|
const complete = () => {
|
|
const complete = () => {
|
|
|
|
|
+ loading.value = false
|
|
|
ElMessage.success('提交成功,请稍后确认结果')
|
|
ElMessage.success('提交成功,请稍后确认结果')
|
|
|
onCancel()
|
|
onCancel()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- const t = setTimeout(() => {
|
|
|
|
|
- loading.value = false
|
|
|
|
|
- complete()
|
|
|
|
|
- }, 2000)
|
|
|
|
|
|
|
+ const t = setTimeout(() => complete(), 2000)
|
|
|
|
|
|
|
|
onSubmit().then(() => complete()).finally(() => {
|
|
onSubmit().then(() => complete()).finally(() => {
|
|
|
window.clearTimeout(t)
|
|
window.clearTimeout(t)
|