master
chentaisen 2024-08-27 19:16:15 +08:00
parent cc7a107b24
commit 14b0ac412d
2 changed files with 4 additions and 4 deletions

View File

@ -272,9 +272,9 @@ export default {
}) })
}, },
/** 修改按钮操作 */ /** 修改按钮操作 */
handleUpdate(id) { handleUpdate(row) {
this.reset(); this.reset();
// const id = row.id || this.ids const id = row.id || this.ids
getRule(id).then(response => { getRule(id).then(response => {
this.form = response.data[0]; this.form = response.data[0];
this.open = true; this.open = true;

View File

@ -545,9 +545,9 @@ export default {
// }) // })
// }, // },
/** 修改按钮操作 */ /** 修改按钮操作 */
handleUpdate(row) { handleUpdate(id) {
this.reset(); this.reset();
const id = row.id || this.ids // const id = row.id || this.ids
updateRule(id).then(response => { updateRule(id).then(response => {
this.form = response.data[0]; this.form = response.data[0];
this.open = true; this.open = true;