From e45b445e2145dbd83864eb28417ae02bffc1a900 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期一, 02 九月 2024 15:21:02 +0800 Subject: [PATCH] ui定义:UI上下文区域查询、增加、修改、删除、克隆接口上传 --- Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue index 3c3da9d..1195fc0 100644 --- a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue +++ b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue @@ -2,7 +2,6 @@ <el-dialog v-dialogDrag :close-on-click-modal="false" - :destroy-on-close="true" :title="title" :visible.sync="visible" width="40%" @@ -23,6 +22,7 @@ </ul> <Divider left="30px" text="閫夋嫨鏂囦欢鍚庝細鑷姩涓婁紶"></Divider> <el-upload + :name="fileName" :action="fileUrl" :before-upload="beforeUpload" :data="fileData" @@ -53,6 +53,10 @@ type: Array, default: () => [] }, + fileName: { + type: String, + default: () => "file" + }, // 瀵硅瘽妗嗗ご閮ㄥ悕绉� title: { type: String, -- Gitblit v1.9.3