diff --git a/client/src/views/standard/standard.vue b/client/src/views/standard/standard.vue index 87daec3..87a3b51 100644 --- a/client/src/views/standard/standard.vue +++ b/client/src/views/standard/standard.vue @@ -254,7 +254,12 @@ export default { }) }, handlePreview(file) { - window.open(file.response.data.path) + if ('url' in file){ + window.open(file.url) + }else{ + window.open(file.response.data.path) + } + }, handleSuccess(response, file, fileList) { this.standard.path = response.data.path