diff --git a/src/components/Login/LoginTab.js b/src/components/Login/LoginTab.js index c50951c4a36f46ff3be04271caac755c8c27b37b..7c46db53292feb02b13ef3863f21ef25294b3a0e 100644 --- a/src/components/Login/LoginTab.js +++ b/src/components/Login/LoginTab.js @@ -29,12 +29,13 @@ class LoginTab extends Component { } } -const warpContext = props => ( +const wrapContext = props => ( {value => } ); + // 标志位 用来判断是不是自定义组件 -warpContext.typeName = 'LoginTab'; +wrapContext.typeName = 'LoginTab'; -export default warpContext; +export default wrapContext;