fix: configProvider is not a function (#2355)

pull/2363/head
zkwolf 2020-06-04 14:50:33 +08:00 committed by GitHub
parent 44c048580b
commit 5417d929d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ const Alert = {
render() {
const { prefixCls: customizePrefixCls, banner, closing, closed } = this;
const getPrefixCls = this.configProvider().getPrefixCls;
const getPrefixCls = this.configProvider.getPrefixCls;
const prefixCls = getPrefixCls('alert', customizePrefixCls);
let { closable, type, showIcon } = this;