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"
解决的方法
1.打开项目packjson查看安装elementui版本号,如果是高于2.15.6的,建议直接降低版本, npm install element-ui@2.15.6 下载对应版本(如果版本号是小于且等于2.15.6版本还是会报错的话,可以检查一下版本号之前的符号,如果有^(表示安装2.0的最高版本),不懂版本号前面符号代表什么的可以去百度一下)