//先获取本地权限数据 permissions let btnPermission = (data) => { let permissions = uni.getStorageSync('ButtonPermissions'); let isHave = permissions.includes(data); return isHave; } export default btnPermission;