eslint-disable-next-line no-prototype-builtins

田晨
2023-12-01

permissionsList.hasOwnProperty(permission)

改为

 Object.prototype.hasOwnProperty.call(permissionsList, permission)

 类似资料: