Browse Source

修改bug

master
qushutong 6 years ago
parent
commit
d7b81c0e59
  1. 2
      src/views/modules/news/banner-add-or-update.vue

2
src/views/modules/news/banner-add-or-update.vue

@ -198,7 +198,7 @@ export default {
}, 1000, { 'leading': true, 'trailing': false }), }, 1000, { 'leading': true, 'trailing': false }),
// //
handleAvatarSuccess (res, file) { handleAvatarSuccess (res, file) {
this.dataForm.imgUrl = URL.createObjectURL(file.raw) this.dataForm.imgUrl = res.data.url
}, },
beforeAvatarUpload (file) { beforeAvatarUpload (file) {
}, },

Loading…
Cancel
Save