export default { inheritAttrs: false }然后在原生元素上:v-bind="$attrs"这样作用于父组件上的属性,会作用到此元素上。文档:https://cn.vuejs.org/v2/api/#...
有人吗啥啥啥