Skip to content

Commit

Permalink
fix: delete console
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyuang committed Apr 21, 2020
1 parent dcd744c commit 2e52f0d
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.7",
"version": "3.6.8",
"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 @@ -42,7 +42,6 @@ function GetInitialProps (WrappedComponent: FC): React.ComponentClass {
}

async getInitialProps () {
console.log('hoc get')
// csr首次进入页面以及csr/ssr切换路由时才调用getInitialProps
const props = this.props
if (WrappedComponent.preload) {
Expand Down

0 comments on commit 2e52f0d

Please sign in to comment.