Project error clone2.weekday is not a function

The dayjs version in ant-design-vue is different from the dayjs version in my project The dayjs
version number in the project
insert image description here
The dayjs version number in ant-design-vue "dayjs": "^1.11.9"

Solution:

  • Update the version number in the project "dayjs": "^1.11.9"
yarn add dayjs@^1.11.9

Guess you like

Origin blog.csdn.net/LRQQHM/article/details/131986772