Changes
parent
cc7a107b24
commit
14b0ac412d
|
@ -272,9 +272,9 @@ export default {
|
|||
})
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(id) {
|
||||
handleUpdate(row) {
|
||||
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;
|
||||
|
|
|
@ -545,9 +545,9 @@ export default {
|
|||
// })
|
||||
// },
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
handleUpdate(id) {
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue