v3.8.3 添加页签openPage支持传递参数

This commit is contained in:
YunaiV
2022-07-06 09:19:34 +08:00
parent 540595646d
commit 0af197059f
2 changed files with 5 additions and 3 deletions

View File

@ -292,7 +292,9 @@ export default {
/** 修改按钮操作 */
handleEditTable(row) {
const tableId = row.id;
this.$router.push("/codegen/edit/" + tableId);
const tableName = row.tableName || this.tableNames[0];
const params = { pageNum: this.queryParams.pageNum };
this.$tab.openPage("修改[" + tableName + "]生成配置", '/codegen/edit/' + tableId, params);
},
/** 删除按钮操作 */
handleDelete(row) {