Error: When the ANTD component is used in the project team, an error occurs when the project is started after the customized configuration
TypeError: this.getOptions is not a function
Cause: The version of less-Loader is too high
Solutions:
1. Uninstall the original version
yarn remove less-loader
Copy the code
2. Install the new version
Yarn add [email protected]Copy the code
Error resolution is reported after completion