修复修改权限没有反显bug

This commit is contained in:
吕金泽 2022-01-15 13:20:57 +08:00
parent dec414894d
commit e7d3c1e12f
2 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,7 @@ export default {
},
created() {
this.$get('menu/by/role',{ roleId: this.id }).then(res => {
this.menus = res.data.map((row) => row.id).join(',')
this.menus = res.data.join(',')
})
},
methods: {

View File

@ -36,6 +36,7 @@ upload:
magic-api:
web: /magic/web
show-sql: true #配置打印SQL
sql-column-case: camel
page-config:
page: current