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

View File

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

View File

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