fix: 开大灰度 02468 结尾的用户

pull/103/head
bigfengyu 5 years ago
parent b210521943
commit 72acc8b720

@ -127,7 +127,7 @@ class RepositoryEditor extends Component<Props, States> {
} = this.props
const { repository: repositoryAsync } = this.props
const idStr = auth.id.toString()
const canTestRapper = (idStr[idStr.length - 1] === '2') || idStr === '128226'
const canTestRapper = ['0','2','4','6','8'].includes(idStr[idStr.length - 1])
if (!repositoryAsync.fetching && !repositoryAsync.data) {
return <div className="p100 fontsize-30 text-center"></div>
}

Loading…
Cancel
Save