permissionsList.hasOwnProperty(permission)

改为

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