fix: 修复role不能编辑的问题

This commit is contained in:
chenjinsong
2021-04-30 15:21:36 +08:00
parent 35062498f6
commit 23804aa62a
2 changed files with 6 additions and 1 deletions

View File

@@ -59,7 +59,6 @@ export default {
detail: Boolean detail: Boolean
}, },
data () { data () {
const vm = this
return { return {
editRole: {}, editRole: {},
url: 'sys/role', url: 'sys/role',

View File

@@ -75,6 +75,12 @@ export default {
}] }]
} }
} }
},
methods: {
edit (row) {
this.object = { ...row }
this.rightBox.show = true
}
} }
} }
</script> </script>