diff --git a/views/admin/banner/index.html b/views/admin/banner/index.html index 3ee726e2991fd12162d28367c3e16ab29da1afb2..dc178268a752b280f8b3fe387328c48c43d824f1 100644 --- a/views/admin/banner/index.html +++ b/views/admin/banner/index.html @@ -230,8 +230,8 @@ handleRemove (file, fileList) { }, handleUploadSuccess (response, file, fileList) { - if (response && response.data) { - this.modelForm.smallimg = '/' + response.data.path + if (response && response.location) { + this.modelForm.smallimg = '/' + response.location } }, handleImgPreview (file) {