From 2969915f7a8f5b1f235b6cc954011eb09dffc38f Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期五, 22 十二月 2023 10:22:29 +0800 Subject: [PATCH] 互联网 --- src/views/system/oss/index.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/system/oss/index.vue b/src/views/system/oss/index.vue index 786012e..e8d2605 100644 --- a/src/views/system/oss/index.vue +++ b/src/views/system/oss/index.vue @@ -66,7 +66,7 @@ <el-dialog :title="dialog.title" v-model="dialog.visible" width="500px" append-to-body> <el-form ref="ossFormRef" :model="form" :rules="rules" label-width="80px"> <el-form-item label="鏂囦欢鍚�"> - <fileUpload ref="childFile" @closePopup="getList();lookPawsd($event)" v-model="form.file" v-if="type === 0" /> + <fileUpload ref="childFile" @closePopup="getList();lookPawsd($event)" @openPopup="lookPawsd($event)" v-model="form.file" v-if="type === 0" /> <imageUpload v-model="form.file" v-if="type === 1" /> <video-upload v-model="form.file" v-if="type === 2" /> </el-form-item> @@ -264,6 +264,7 @@ /** 浠诲姟鏃ュ織鍒楄〃鏌ヨ */ /** 鏂囦欢鎸夐挳鎿嶄綔 */ const handleFile = () => { + reset(); type.value = 0; dialog.visible = true; @@ -288,9 +289,10 @@ await childFile.value.handleCilck() dialog.visible = false; } -const lookPawsd = async (row: OssVO) => { +const lookPawsd = async (row: any) => { + // percentage2.value = 0; console.log(row, row.ossId); - testtxt.value = row.password; + testtxt.value = row.msg; titleDownload.value = '鏌ョ湅鎻愬彇鐮�' pasTxt.value = '' visibleCode.value = true -- Gitblit v1.8.0