From 706c3bb69b7b4edb364e3db4ee4d095fe0af81be Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Sat, 24 May 2025 14:33:51 +0800
Subject: [PATCH] 添加底部版权信息及开关
---
ruoyi-ui/src/components/FileUpload/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/components/FileUpload/index.vue b/ruoyi-ui/src/components/FileUpload/index.vue
index ad28ca0..c709f6d 100644
--- a/ruoyi-ui/src/components/FileUpload/index.vue
+++ b/ruoyi-ui/src/components/FileUpload/index.vue
@@ -84,7 +84,7 @@
type: Boolean,
default: false
},
- // 拖动排序
+ // 拖动排序
drag: {
type: Boolean,
default: true
@@ -102,7 +102,7 @@
}
},
mounted() {
- if (this.drag) {
+ if (this.drag && !this.disabled) {
this.$nextTick(() => {
const element = this.$refs.uploadFileList?.$el || this.$refs.uploadFileList
Sortable.create(element, {
--
Gitblit v1.9.3