simply write a project with ant-design-pro, and write a server.js and npm run build packaged file in the root directory with the built-in mock API,. The dist directory is as follows:
server.js:
server.js302Cannot read property "notifyCount" of undefined:
the user part remains unchanged, and the data sent from the server can be output normally in the console. I don"t understand what went wrong. After the browser can display, npm run build normally, npm start opens an error in browser 127.0.0.1, npm run build 9008. How can you solve this problem?