Merge branch 'hhl' of SH-Arbitrate/Arbitrate-Frontend into dev

This commit was merged in pull request #56.
This commit is contained in:
2023-10-01 16:12:47 +08:00
committed by Gitea
@@ -851,13 +851,16 @@ export default {
return window.location.origin + "/API/evidence/upload";
},
handlePreview(file) {
if (file && file.response.data.annexName) {
if (this.flag == "2") {
window.open(
window.location.origin + "/API" + file.response.data.annexName,
"_blank"
);
} else {
this.$message.warning("暂不支持预览");
} else if (this.flag == "1") {
window.open(
window.location.origin + "/API" + file.certificatePath,
"_blank"
);
}
},