diff --git a/src/views/canteen/dish/nutritionInfo/index.vue b/src/views/canteen/dish/nutritionInfo/index.vue index 0c62078c..78344d1e 100644 --- a/src/views/canteen/dish/nutritionInfo/index.vue +++ b/src/views/canteen/dish/nutritionInfo/index.vue @@ -981,7 +981,7 @@ export default { console.log(data) this.typeForm={} this.resetForm("typeForm"); - this.$set(this.typeForm,"parentId","") + this.$set(this.typeForm,"parentId",data.parentId) this.$set(this.typeForm,"nutritionTypeId",data.id) this.$set(this.typeForm,"nutritionTypeName",data.label) // this.typeForm = {