Skip to content

Commit

Permalink
fix(多租户): 租户列表查看无权限
Browse files Browse the repository at this point in the history
点击查看按钮直接跳转到403,修复菜单权限

fix #91
  • Loading branch information
Lind-pro committed Jun 29, 2020
1 parent b490b52 commit f9be0b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default {
hideInMenu: true,
path: '/system/tenant/detail/:id',
name: '租户详情',
authority: ['device-product'],
authority: ['tenant', 'admin'],
version: 'pro',
component: './system/tenant/detail',
},
Expand Down
8 changes: 4 additions & 4 deletions config/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
export default {
dev: {
'/jetlinks': {
target: 'http://192.168.3.146:8844/',
ws: 'ws://192.168.3.146:8844/',
// target: 'http://192.168.3.146:8844/',
// ws: 'ws://192.168.3.146:8844/',
// target: 'http://water.zlkjhb.com:9000/jetlinks',
// ws: 'http://water.zlkjhb.com:9000/jetlinks',
// ws: 'ws://demo.jetlinks.cn/jetlinks',
// target: 'http://demo.jetlinks.cn/jetlinks',
ws: 'ws://demo.jetlinks.cn/jetlinks',
target: 'http://demo.jetlinks.cn/jetlinks',
changeOrigin: true,
pathRewrite: { '^/jetlinks': '' },
},
Expand Down

0 comments on commit f9be0b7

Please sign in to comment.