From a06a49617b5c9f6c892889867e7cf67ba21d923b Mon Sep 17 00:00:00 2001 From: longbin <765398853@qq.com> Date: Fri, 12 Sep 2025 17:52:14 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91xn-upload?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=96=B0=E5=A2=9E=E7=A6=81=E7=94=A8=E7=8A=B6?= =?UTF-8?q?=E6=80=81=EF=BC=8C=E6=94=AF=E6=8C=81=E5=A4=96=E5=B1=82=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E8=AE=BE=E7=BD=AE=E7=A6=81=E7=94=A8=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- snowy-admin-web/src/components/XnUpload/index.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/snowy-admin-web/src/components/XnUpload/index.vue b/snowy-admin-web/src/components/XnUpload/index.vue index aa9b7bf4..b54427b3 100644 --- a/snowy-admin-web/src/components/XnUpload/index.vue +++ b/snowy-admin-web/src/components/XnUpload/index.vue @@ -11,6 +11,7 @@ @change="handleChange" :showUploadList="props.showUploadList" :accept="accept" + :disabled="props.disabled" > @@ -32,6 +33,7 @@ :progress="progress" :showUploadList="props.showUploadList" :accept="accept" + :disabled="props.disabled" >
@@ -53,6 +55,7 @@ :progress="progress" :showUploadList="props.showUploadList" :accept="accept" + :disabled="props.disabled" >
@@ -89,6 +92,7 @@ :progress="progress" :showUploadList="props.showUploadList" :accept="accept" + :disabled="props.disabled" >

@@ -189,7 +193,13 @@ type: [String, Array], default: undefined, required: false - } + }, + // 组件禁用状态 + disabled: { + type: Boolean, + default: false, + required: false + }, }) const action = props.uploadResultType === 'id'