饿了么组件,使用日期组件报警告,求解

新手上路,请多包涵

([Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "placement")

阅读 4.8k
3 个回答

不要直接改变props

刚好看到过,ele自己的bug,好像最新版已经修复了,可以上github上看issue

可以先把当前element卸载掉,安装2.15.6版本。这个是一个pr引起的错误,github issue

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题