Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

权限的标签不可用 #500

Open
baoli-ljh opened this issue Aug 17, 2021 · 4 comments
Open

权限的标签不可用 #500

baoli-ljh opened this issue Aug 17, 2021 · 4 comments

Comments

@baoli-ljh
Copy link

按钮添加{ permission: '删除图书', type: 'disabled'}属性 报错:Failed to resolve directive: permission

@vanoneang
Copy link
Member

你是不是用的 0.2.x 版本呀,最早是用的 v-auth 这个指令,后来都改成 v-permission 了。

如果没有写很多业务逻辑的话,建议用比较新的版本:
Vue2.x --> Lin CMS master 分支
Vue3.x --> Lin CMS vue-next 分支

@baoli-ljh
Copy link
Author

谢谢 已经解决了 自己改的代码

@xiaoyunjie
Copy link

@217xiaoqian 我也是遇到和你一样的问题,版本是0.2.x ,请问你是如何解决的,能贴一下代码么

@baoli-ljh
Copy link
Author

@xiaoyunjie 0.2x 他的自定义标签是用v-atuth 要去看一些js和改下里面的逻辑 权限里面的代码有点问题

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

No branches or pull requests

3 participants