diff --git a/packages/button/index.js b/packages/button/index.js
index f8f824d38..b2d87fc59 100644
--- a/packages/button/index.js
+++ b/packages/button/index.js
@@ -1,4 +1,5 @@
import { use } from '../utils';
+import { inheritContext } from '../utils/functional';
import Loading from '../loading';
const [sfc, bem] = use('button');
@@ -30,7 +31,7 @@ export default sfc({
}
},
- render(h, context, inherit) {
+ render(h, context) {
const { props, listeners } = context;
const { type, disabled, loading } = props;
@@ -58,7 +59,7 @@ export default sfc({
}
])}
onClick={onClick}
- {...inherit}
+ {...inheritContext(context)}
>
{loading ? (