zzw
2023-12-01 e023474fc9bcc726ed558a0623f1316dddc13152
web/packages/components/zt-uploader/src/zt-uploader.vue
@@ -335,8 +335,8 @@
        cropData: {},
        isShowCrop: false,
        uploading: false,
        fileList: this.getUploadList(this.value),
        uploadList: this.getUploadList(this.value),
        fileList: this.getUploadList(this.value) || [],
        uploadList: this.getUploadList(this.value) || [],
        progressFlag: false
      }
    },
@@ -549,7 +549,7 @@
      },
      async handleRemove(index) {
        let file = this.uploadList[index]
        if (file.status === 1) { // 证书文件,直接从列表删除,不保存数据库
        if (file.status === 2) { // 证书文件,直接从列表删除,不保存数据库
          this.handRemoveAndSetValue(index)
        } else {
          if (await this.$tip.confirm(this.$t('prompt.info', {'handle': this.$t('delete')}))) {