From 7a1aac82c9566bfbe8b202cf521e476987a41d1c Mon Sep 17 00:00:00 2001 From: huangdeliang Date: Fri, 22 Jan 2021 10:00:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8F=9C=E5=93=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stdiet-ui/src/assets/icons/svg/health.svg | 2 ++ stdiet-ui/src/views/custom/dishes/index.vue | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 stdiet-ui/src/assets/icons/svg/health.svg diff --git a/stdiet-ui/src/assets/icons/svg/health.svg b/stdiet-ui/src/assets/icons/svg/health.svg new file mode 100644 index 000000000..8b217be71 --- /dev/null +++ b/stdiet-ui/src/assets/icons/svg/health.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/stdiet-ui/src/views/custom/dishes/index.vue b/stdiet-ui/src/views/custom/dishes/index.vue index b1f541825..f41463331 100644 --- a/stdiet-ui/src/views/custom/dishes/index.vue +++ b/stdiet-ui/src/views/custom/dishes/index.vue @@ -75,7 +75,7 @@ - + @@ -477,7 +477,7 @@ const id = row.id || this.ids getDishes(id).then(response => { this.form = response.data; - this.form.type = this.form.type.split(','); + this.form.type = this.form.type ? this.form.type.split(',') : null; this.form.igdList.forEach(obj => { this.selIngIds.push(obj.id); this.selIngList.push({