RuoYi
2025-05-06 07be5ceb2633279787380dfda88602f208a8e020
ruoyi-ui/src/components/ImageUpload/index.vue
@@ -102,7 +102,7 @@
  mounted() {
    if (this.drag) {
      this.$nextTick(() => {
        const element = document.querySelector('.el-upload-list')
        const element = this.$refs.imageUpload?.$el?.querySelector('.el-upload-list')
        Sortable.create(element, {
          onEnd: (evt) => {
            const movedItem = this.fileList.splice(evt.oldIndex, 1)[0]