From b5547c2bec2ecdbfe69e03a3b06f6926d6d94e66 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期二, 12 十二月 2023 16:41:49 +0800 Subject: [PATCH] 修改视频专网内网 --- src/views/system/oss/index.vue | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/system/oss/index.vue b/src/views/system/oss/index.vue index 9da3493..3dc6252 100644 --- a/src/views/system/oss/index.vue +++ b/src/views/system/oss/index.vue @@ -102,7 +102,7 @@ :close-on-click-modal = "false" :close-on-press-escape = "false" :show-close = "false" - :before-close="handleClose" + > <span @closePopup1="lookPawsd1()"> <el-progress type="dashboard" :percentage="percentage2" :color="colors" /> @@ -127,7 +127,7 @@ const dialogVisible = ref(false) const state = reactive({ - mytime:null,//瀹氫箟瀹氭椂鍣� + mytime:0,//瀹氫箟瀹氭椂鍣� }) const percentage = ref(10) const percentage2 = ref(0) @@ -153,14 +153,14 @@ } } onMounted(() => { - + }) watch(percentage2, (new1,new2) => { console.log(new1,new2) if(new1 == 95){ clearInterval(state.mytime); - state.mytime = null; + state.mytime = 0; } }) @@ -324,7 +324,7 @@ /** 浠诲姟鏃ュ織鍒楄〃鏌ヨ */ /** 鏂囦欢鎸夐挳鎿嶄綔 */ const handleFile = () => { - + reset(); type.value = 0; dialog.visible = true; @@ -349,10 +349,10 @@ await childFile.value.handleCilck() dialog.visible = false; } -const lookPawsd = async (row: OssVO) => { +const lookPawsd = async (row: any) => { console.log(row, row.ossId); clearInterval(state.mytime); - state.mytime = null; + state.mytime = 0; if(row == '123123'){ dialogVisible.value = true; state.mytime = setInterval(() => { @@ -362,13 +362,13 @@ else{ dialogVisible.value = false; clearInterval(state.mytime); - state.mytime = null; + state.mytime = 0; testtxt.value = row.password; titleDownload.value = '鏌ョ湅鎻愬彇鐮�' pasTxt.value = '' visibleCode.value = true } - + } const lookPawsd1 = async () => { dialogVisible.value = true; -- Gitblit v1.8.0