問題原因似乎是moment版本與antd兼容問題
解決方案
1.安裝[email protected]
npm install [email protected]
2.配置webpack的alias
alias:{
"moment$": "moment/moment.js",
}
問題原因似乎是moment版本與antd兼容問題
解決方案
npm install [email protected]
alias:{
"moment$": "moment/moment.js",
}