From 0fe2e26c57c7ad801b3edc2c1666facad1655bdf Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Mon, 16 Jun 2025 10:22:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=AE=E5=BD=95=E4=BF=AE=E6=94=B92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/canteen/healthCenter/nutritionScience/index.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/canteen/healthCenter/nutritionScience/index.vue b/src/views/canteen/healthCenter/nutritionScience/index.vue index 68aa384f..082b3d59 100644 --- a/src/views/canteen/healthCenter/nutritionScience/index.vue +++ b/src/views/canteen/healthCenter/nutritionScience/index.vue @@ -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("修改成功");