jsk 健康科普

This commit is contained in:
skjia 2025-06-16 10:07:59 +08:00
parent 8528900b17
commit e07548861a
1 changed files with 4 additions and 3 deletions

View File

@ -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("修改成功");