修复菜品修改报错
This commit is contained in:
parent
f99f84ce07
commit
7a1aac82c9
2
stdiet-ui/src/assets/icons/svg/health.svg
Normal file
2
stdiet-ui/src/assets/icons/svg/health.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 92 KiB |
@ -477,7 +477,7 @@
|
|||||||
const id = row.id || this.ids
|
const id = row.id || this.ids
|
||||||
getDishes(id).then(response => {
|
getDishes(id).then(response => {
|
||||||
this.form = response.data;
|
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.form.igdList.forEach(obj => {
|
||||||
this.selIngIds.push(obj.id);
|
this.selIngIds.push(obj.id);
|
||||||
this.selIngList.push({
|
this.selIngList.push({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user