diff --git a/components/alert/index.jsx b/components/alert/index.jsx index 5ea9d51f0..88705458a 100644 --- a/components/alert/index.jsx +++ b/components/alert/index.jsx @@ -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;