Skip to content

增加基于vue-router,vuex的权限控制 #42

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hiant
Copy link
Contributor

@hiant hiant commented May 19, 2017

目前只支持菜单跳转的权限控制,使用mockjs模拟登录及权限数据,由于是随机数据,如果遇到登录失败请重试,权限也是随机的。。。

@@ -23,14 +23,14 @@
},
computed:{
username(){
let username = localStorage.getItem('ms_username');
let username = this.$store.state.user.username;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use const instead

@Augly
Copy link

Augly commented Oct 29, 2018

加个微信好友呀!朋友

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants