|
@@ -122,7 +122,7 @@ export default {
|
122
|
122
|
method: this.$api.cms.addImage.method,
|
123
|
123
|
data: this.postData
|
124
|
124
|
}).then(res => {
|
125
|
|
- console.log(res)
|
|
125
|
+ this.$router.push({ name: 'bannerManager' })
|
126
|
126
|
}).catch(msg => {
|
127
|
127
|
|
128
|
128
|
})
|
|
@@ -131,8 +131,6 @@ export default {
|
131
|
131
|
this.$router.go(-1)
|
132
|
132
|
},
|
133
|
133
|
handleAvatarSuccess (res, file) {
|
134
|
|
- console.log(res)
|
135
|
|
- console.log(file)
|
136
|
134
|
this.postData.ImageUrl = res.result.url
|
137
|
135
|
},
|
138
|
136
|
beforeAvatarUpload (file) { },
|