Skip to content

Commit

Permalink
🔖 Releasing / Version tags. 2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lltx committed Mar 14, 2020
1 parent 8e1c33c commit ba85dc3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/api/admin/role.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function permissionUpd (roleId, menuIds) {
return request({
url: '/admin/role/menu',
method: 'put',
params: {
data: {
roleId: roleId,
menuIds: menuIds
}
Expand Down
2 changes: 1 addition & 1 deletion src/router/page/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default [{
meta: {
keepAlive: true,
isTab: false,
isAuth: false
isAuth: true
}

},
Expand Down
26 changes: 3 additions & 23 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,34 +26,14 @@ module.exports = {
// 配置转发代理
devServer: {
proxy: {
'/auth': {
'/': {
target: url,
ws: true,
pathRewrite: {
'^/auth': '/auth'
}
},
'/admin': {
target: url,
ws: true,
pathRewrite: {
'^/admin': '/admin'
}
},
'/code': {
target: url,
ws: true,
pathRewrite: {
'^/code': '/code'
}
},
'/gen': {
target: url,
ws: true,
pathRewrite: {
'^/gen': '/gen'
'^/': '/'
}
}
// v2.7.0 不需在配置前端代理
}
}
}

0 comments on commit ba85dc3

Please sign in to comment.