摘要: // .directive.ts const permissionFn = (value: string | string[]) => { // 后端返回的是权限数组,存在本地,取出来处理 const rolesArr = JSON.parse(getItem('roles')) if (typeo 阅读全文
posted @ 2022-05-26 19:45 Life_countdown 阅读(650) 评论(0) 推荐(0)