BUG 28002
This commit is contained in:
@@ -98,7 +98,7 @@ export default {
|
|||||||
* */
|
* */
|
||||||
addOrUpdate(status) {
|
addOrUpdate(status) {
|
||||||
if (Array.isArray(this.articInfo.thumbUrl)) {
|
if (Array.isArray(this.articInfo.thumbUrl)) {
|
||||||
this.articInfo.thumbUrl = this.articInfo.thumbUrl[0].url
|
this.articInfo.thumbUrl = this.articInfo.thumbUrl?.[0]?.url
|
||||||
}
|
}
|
||||||
const msg = +status ? '发布成功' : this.isEdit ? '编辑成功' : '保存成功';
|
const msg = +status ? '发布成功' : this.isEdit ? '编辑成功' : '保存成功';
|
||||||
this.instance.post(`/app/appnews/addOrUpdate`, {
|
this.instance.post(`/app/appnews/addOrUpdate`, {
|
||||||
|
|||||||
Reference in New Issue
Block a user