检验过程中,上传附件成功,页面未及时刷新出上传的文件
| | |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "warning", |
| | | }) |
| | | .then(() => { |
| | | delfile({ id: row.id }).then((res) => { |
| | | if (res.code == 201) return; |
| | | this.$message.success("删除成功"); |
| | | this.refresh(); |
| | | }); |
| | | }) |
| | | .catch(() => { }); |
| | | }).then(() => { |
| | | delfile({ id: row.id }).then((res) => { |
| | | this.$message.success("删除成功"); |
| | | this.getList(); |
| | | }); |
| | | }).catch(() => { }); |
| | | }, |
| | | // 文件管理--结束 |
| | | |
| | |
| | | this.upLoading = false; |
| | | if (response.code == 200) { |
| | | this.$message.success("上传成功"); |
| | | this.$refs.fileList.selectList(); |
| | | this.getList(); |
| | | } |
| | | }, |
| | | beforeUpload(file) { |