当前位置:网站首页>Using the DatePicker date control, Prop being mutated: "placement" error occurs
Using the DatePicker date control, Prop being mutated: "placement" error occurs
2022-08-10 04:29:00 【A Cheng_88】
I. Reason for error
- element-ui version: 2.15.9
- The screenshot of the error report is as follows:
II. Reason analysis
- After element-ui is upgraded to version 2.15.6 or above, a line of code to directly modify placement is added to the date-picker component (you can go and see)
- View the screenshot of the address as follows:
Third, the solution
- Go to the package.json file in the project to check the element-ui version, if it is higher than 2.15.6, uninstall the current version directly
- Enter npm install [email protected] -S to install the 2.15.6 version, then remove the ^ sign in front of the version (if you don't understand the symbol in front of the version, you can look at Baidu)
- Remove node_modules package
- Enter npm install to install dependencies
4. Screenshot of element-ui version
边栏推荐
猜你喜欢
随机推荐
用 PySpark ML 构建机器学习模型
BGP实验+选路+路由策略+OSPF
C#【委托/事件篇】跨线程访问窗体控件的方法
若依系统前后台漏洞大全
兴盛优选监控场景的时序数据库选型与落地实践
PHPCMS仿站从入门到精通,小白看这一套课程就够了
TCP协议之《发送缓存控制tcp_notsent_lowat》
华为交换机配置日志推送
UDP协议之《套接口阻塞选项UDP_CORK》
ZZULIOJ:1016: 银行利率
2022华数杯思路分析
ZZULIOJ:1024: 计算字母序号
#【软件STM32cubeIDE下F103配置uart3+DMA收发+简单数据解析-基础样例】
shell三剑客之sed命令
基于Nonebot2的qq机器人如何测试超管账号
如何在不同场景下选择合适的示波器探头
Flutter 如何安装 pub.dev 上的 package
释放高通量算力价值潜能 JASMINER持续领跑 Web3 市场
长沙:借网红的风,铺长红的路
TCP协议之《Pacing功能》