liupopo 1 year ago
parent
commit
825a20f4d0
  1. 3
      src/views/appletBanner/appletBannerAdd.vue

3
src/views/appletBanner/appletBannerAdd.vue

@ -88,6 +88,7 @@
hideUploadBtn: false, hideUploadBtn: false,
submitdisabled: false, submitdisabled: false,
formobj: { formobj: {
sid: '',
title: '', title: '',
publisher: '', publisher: '',
releaseTime: '', releaseTime: '',
@ -123,6 +124,7 @@
handleReturn(isreload) { handleReturn(isreload) {
if (isreload === 'true') this.$emit('reloadlist') if (isreload === 'true') this.$emit('reloadlist')
this.formobj = { this.formobj = {
sid: '',
title: '', title: '',
publisher: '', publisher: '',
releaseTime: '', releaseTime: '',
@ -140,6 +142,7 @@
.then(resp => { .then(resp => {
if (resp.success) { if (resp.success) {
this.formobj = resp.data this.formobj = resp.data
this.imgList[0].url = resp.data.bannerUrl
} }
}) })
.catch(e => { .catch(e => {

Loading…
Cancel
Save