elementUI el-date-picker表单组件
生活随笔
收集整理的這篇文章主要介紹了
elementUI el-date-picker表单组件
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
elementUI 使用el-date-picker表單組件報錯 ** Avoid mutating a prop directly since the value will be overwritten the parent comoonent re-renders. Instead. use a data or computed property based on the orop’s value Prop being mutated “placement”**
elementUI 使用el-date-picker表單組件時報錯 Avoid mutating a prop directly since the value will be overwritten the parent comoonent re-renders. Instead. use a data or computed property based on the orop’s value Prop being mutated “placement”
僅是控制臺報錯,系統能正常運行,有強迫癥的我打算修復好它
解決方法:
- 將package.json文件 “element-ui”: “2.15.6”; 版本是2.15.6時,注意前面不要加 ^ 符號
指定版本號
- 指定版本:比如"vue": “2.15.2”,表示指定安裝2.15.2的版本
- 波浪號~ 指定版本:比如 “vue”: “~2.15.2”,表示安裝2.5.x的最新版本(不低于2.15.2),但是不安裝2.16.x,也就是說安裝時不改變大版本號和次要版本號
- ^ 指定版本:比如 “vue”: “^2.15.2” ,表示安裝2.5.2及以上的版本,但是不安裝3.0.0,也就是說安裝時不改變大版本號。
總結
以上是生活随笔為你收集整理的elementUI el-date-picker表单组件的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: react前端库s
- 下一篇: c语言 return0作用