Browse Source

使用新版接口

origin/feature/monitoring
yujt 5 years ago
parent
commit
2453aa89fa
  1. 2
      src/views/modules/sys/role-add-or-update.vue

2
src/views/modules/sys/role-add-or-update.vue

@ -234,7 +234,7 @@ export default {
// },
//
getInfo () {
this.$http.get(`/sys/role/${this.dataForm.id}`).then(({ data: res }) => {
this.$http.get(`/sys/role/v2/${this.dataForm.id}`).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}

Loading…
Cancel
Save