jsk
This commit is contained in:
parent
a978642ef3
commit
8aefe7371b
|
|
@ -30,7 +30,7 @@ export function editHealthScienceApi(data) {
|
|||
url: '/smart-canteen/health_popular_article/edit',
|
||||
method: 'post',
|
||||
headers: {
|
||||
"merchant-id":"378915229716713472",
|
||||
"merchant-id":"378915229716713472",
|
||||
},
|
||||
data: data
|
||||
})
|
||||
|
|
|
|||
|
|
@ -357,10 +357,10 @@ export default {
|
|||
this.fileList=[]
|
||||
this.checkUrlList=[]
|
||||
}
|
||||
if(this.form.chronicIds.length>0){
|
||||
if(this.form.chronicIds!=null&&this.form.chronicIds.length>0){
|
||||
this.form.chronicIdList=this.form.chronicIds.split(",");
|
||||
}
|
||||
console.log("this.form",this.form);
|
||||
console.log("this.form.articleContent",this.form.articleContent);
|
||||
this.open = true;
|
||||
this.title = "修改";
|
||||
},
|
||||
|
|
@ -373,7 +373,8 @@ export default {
|
|||
}else{
|
||||
this.form.chronicIds = ""
|
||||
}
|
||||
this.form.coverPhoto = this.checkUrlList[0]
|
||||
this.form.coverPhoto = this.checkUrlList[0];
|
||||
console.log("this.form.articleContent",this.form.articleContent);
|
||||
if (this.form.articleId != undefined) {
|
||||
editHealthScienceApi(this.form).then(response => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
|
|
|
|||
Loading…
Reference in New Issue