filelist
This commit is contained in:
parent
70e4fc1645
commit
8bf3cb52c6
|
@ -254,7 +254,12 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handlePreview(file) {
|
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) {
|
handleSuccess(response, file, fileList) {
|
||||||
this.standard.path = response.data.path
|
this.standard.path = response.data.path
|
||||||
|
|
Loading…
Reference in New Issue