structor
structor copied to clipboard
npm run structor emit an error
Info as bellow:

componentDidMount() { if (window.onPageDidMount) { //emit an error here window.onPageDidMount(this); if (this.updatePageModel) { const pathname = getPagePathName(this.props.location.pathname); const nextPagePath = this.getPagePath(pathname); //emit an error here this.updatePageModel({ pathname: nextPagePath }); if (this.onPathnameChanged) { this.onPathnameChanged(nextPagePath); } } } }