Commit 74b1e62e authored by jim's avatar jim

Change the default role to admin

parent cc37caba
// use localStorage to store the authority info, which might be sent from server in actual project.
export function getAuthority() {
return localStorage.getItem('antd-pro-authority') || 'guest';
return localStorage.getItem('antd-pro-authority') || 'admin';
}
export function setAuthority(authority) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment