From b5547c2bec2ecdbfe69e03a3b06f6926d6d94e66 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期二, 12 十二月 2023 16:41:49 +0800 Subject: [PATCH] 修改视频专网内网 --- vite.config.ts | 4 ++-- src/views/system/oss/index.vue | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 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; diff --git a/vite.config.ts b/vite.config.ts index 81263c2..497d0d4 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -26,9 +26,9 @@ open: true, proxy: { [env.VITE_APP_BASE_API]: { - // target: 'http://80.36.32.176:8080', - // target: 'http://51.9.57.211:8080', target: 'http://80.36.32.176:8080', + // target: 'http://51.9.57.211:8080', + // target: 'http://80.36.32.176:8080', changeOrigin: true, rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '') } -- Gitblit v1.8.0