Skip to content

Commit

Permalink
fix: delete console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyuang committed Apr 15, 2020
1 parent 72bfcff commit 6c9d36d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ykfe-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ykfe-utils",
"version": "3.6.6",
"version": "3.6.7",
"description": "utils for ykfe",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
1 change: 0 additions & 1 deletion packages/ykfe-utils/src/components/getinitialProps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ function GetInitialProps (WrappedComponent: FC): React.ComponentClass {
}

async componentDidMount () {
console.log('xx')
// csr 或者 history push的时候需要调用getInitialProps
if ((this.props.history && this.props.history.action !== 'POP' || !window.__USE_SSR__)) {
await this.getInitialProps()
Expand Down

0 comments on commit 6c9d36d

Please sign in to comment.