当前位置:网站首页>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

边栏推荐
猜你喜欢
随机推荐
wind7 无法安装tools (问题已解决)
网络层与数据链路层
结构体的内存对齐问题
ZZULIOJ:1014: 求三角形的面积
Day14/15/16:哈夫曼树、哈弗曼编码(压缩与解压缩)
Unity实现UI的边缘检测和拖拽拉伸功能
TCP协议之《Out-Of-Window报文限速》
125. 耍杂技的牛
2022年A特种设备相关管理(电梯)考试模拟100题及答案
[crit] 23856#0: *101796511 stat()
What is the relationship between legal representative and shareholders?
ZZULIOJ:1029: 三角形判定
@Autowired注解 --required a single bean, but 2 were found出现的原因以及解决方法
2022山东省安全员C证考试题及模拟考试
2022年R2移动式压力容器充装考试题库模拟考试平台操作
MindSpore官方RandomChoiceWithMask算子用例报错
PID整定方法
PAC文件解释-转载 小胡子哥的个人网站
B+树与B树的区别、Hash索引与B+树索引的区别
ZZULIOJ:1021: 三个整数的最大值








![[STL]map与set](/img/4a/29ecb90ce7c10adb25fd05b92a5900.png)
