修复代码生成点击多次表修改数据不变化的问题

This commit is contained in:
RuoYi
2020-07-02 16:12:03 +08:00
parent 0788a57bec
commit 7549c904f2
3 changed files with 4 additions and 4 deletions

View File

@@ -270,7 +270,7 @@ export default {
/** 修改按钮操作 */
handleEditTable(row) {
const tableId = row.tableId || this.ids[0];
this.$router.push({ path: "/gen/edit", query: { tableId: tableId } });
this.$router.push("/gen/edit/" + tableId);
},
/** 删除按钮操作 */
handleDelete(row) {