Tcsm
2023-07-26 c003a5fb28554e2f37c431214dabf6f75f27cc29
ruoyi-ui/src/views/clean/cleanInfo.vue
@@ -94,11 +94,11 @@
        multiple
        :on-preview="handlePreview"
        :on-remove="handleRemove"
        :on-remove="handleRemoveFile"
        :http-request="requestUpload"
        :show-file-list="true"
      >
        <el-button type="primary">Click to upload</el-button>
        <el-button type="primary">点击上传</el-button>
        <template #tip>
          <div class="el-upload__tip">
          </div>
@@ -263,6 +263,13 @@
        return '自动扣划'
      }
    },
    handleRemove(file) {
      for(let i = 0; i < this.fileList.length; i++)
      {
        if(this.fileList[i].url==file.url)
          this.$delete(this.fileList,i);
      }
    },
    submitForm() {
      let ul = this.fileList.map(function (elem){
@@ -274,7 +281,6 @@
      this.formData.url = ul+","+uls
      this.$refs['elForm'].validate(valid => {
        if (valid) {
          if (this.formData.id != undefined) {