RuoYi
2025-05-23 3293e2fb564fbc3cff4a9268b6595ff7f99b37b2
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, {