crmeb vue 前端二开日记 1.权限相关: html: v-hasPermi="['platform:main:page:list']" js: import { checkPermi } from '@/utils/permission'; // 权限判断函数 methods: { checkPermi } if(this.checkPermi(['platform:main:page:list'])) console.log('验证通过')