From bb3a5ebcda40e43c0fc81e265c2959fece8836e7 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期五, 22 十二月 2023 10:47:08 +0800 Subject: [PATCH] 互联网 --- src/views/index.vue | 20 +++++++++----------- src/components/FileUpload/index.vue | 2 +- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue index dec76c9..e7b6fb6 100644 --- a/src/components/FileUpload/index.vue +++ b/src/components/FileUpload/index.vue @@ -174,7 +174,7 @@ console.log('handleUploadProgress锛�'); // downloadProgress.value = downloadProgress.value + 50 // emit('closePopup','123123'); - emit('openPopup','123123'); + // emit('openPopup','123123'); } // 涓婁紶鎴愬姛鍥炶皟 const handleUploadSuccess = (res: any, file: UploadFile) => { diff --git a/src/views/index.vue b/src/views/index.vue index eb6cba0..3c5d99b 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -344,13 +344,11 @@ const submitForm = async () => { await childFile.value.handleCilck() - dialog.visible = false; - setTimeout(()=>{ + dialog.visible = false; dialogVisible.value = true; state.mytime = setInterval(() => { percentage2.value = (percentage2.value % 100) + 5 }, 500) - }, 1000) } const lookPawsd = async (row:any) => { console.log(row); @@ -358,13 +356,13 @@ clearInterval(state.mytime); state.mytime = 0; - if(row == '123123'){ - dialogVisible.value = true; - state.mytime = setInterval(() => { - percentage2.value = (percentage2.value % 100) + 5 - }, 500) - } - else{ + // if(row == '123123'){ + // dialogVisible.value = true; + // state.mytime = setInterval(() => { + // percentage2.value = (percentage2.value % 100) + 5 + // }, 500) + // } + // else{ dialogVisible.value = false; clearInterval(state.mytime); state.mytime = 0; @@ -373,7 +371,7 @@ titleDownload.value = '鏌ョ湅鎻愬彇鐮�' pasTxt.value = '' visibleCode.value = true - } + // } } const handleCode = async (row: OssVO) => { console.log(row, row.ossId); -- Gitblit v1.8.0