前端导航栏更新

This commit is contained in:
橙子
2021-10-23 02:09:10 +08:00
parent 6bc67cbf06
commit eb15667d21
6 changed files with 45 additions and 49 deletions

View File

@@ -177,7 +177,7 @@ export default {
});
},
editItem(item) {
this.editedIndex = this.desserts.indexOf(item);
this.editedIndex = item.id;
this.editedItem = Object.assign({}, item);
this.dialog = true;
},