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