Element UI version
2.15.9
OS/Browsers version
chrome
Vue version
2.6.10
Reproduction Link
Steps to reproduce
const NewPopper = {
props: {
appendToBody: Popper.props.appendToBody,
offset: Popper.props.offset,
boundariesPadding: Popper.props.boundariesPadding,
arrowOffset: Popper.props.arrowOffset,
placement: Popper.props.placement,
transformOrigin: Popper.props.transformOrigin
},
methods: Popper.methods,
data() {
return merge({ visibleArrow: true }, Popper.data);
},
beforeDestroy: Popper.beforeDestroy
};
created() {
// vue-popper
this.popperOptions = {
boundariesPadding: 0,
gpuAcceleration: false
};
this.placement = PLACEMENT_MAP[this.align] || PLACEMENT_MAP.left;
this.$on('fieldReset', this.handleFieldReset);
},
this.placement 是prop,vue报错警告
What is Expected?
修复报错
What is actually happening?
???
1条答案
按热度按时间iszxjhcz1#
也遇到了,只能回退版本,或无视