vue 组件批量绑定属性 v-bind="$attrs" v-bind="$props" 能同时使用吗?-灵析社区
UX_siri
不行,会报错: Errors compiling template: duplicate attribute: v-bind 可以用评论中说的 `` 来实现。
阅读量:1
点赞量:0
问AI