mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-18 04:57:15 +08:00
refactor: 优化部分配置
This commit is contained in:
@@ -4,7 +4,7 @@ import { useUserStore } from '@/store';
|
||||
* 权限判断
|
||||
*
|
||||
* @param value 权限码列表
|
||||
* @return true 有权限,false 没有权限
|
||||
* @return true:有权限;false:没有权限
|
||||
*/
|
||||
export default function checkPermission(value: Array<string>) {
|
||||
const userStore = useUserStore();
|
||||
|
Reference in New Issue
Block a user