| | |
| | | }, |
| | | 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')}))) { |
| | |
| | | @Dictionary(type = "oss_status", name = "文件状态") |
| | | public enum OssStatus implements IDictionary { |
| | | |
| | | TEMPORARY(100, "临时"), PERMANENT(101, "永久"); |
| | | TEMPORARY(1, "临时"), PERMANENT(2, "永久"); |
| | | |
| | | private Integer value; |
| | | private String name; |