xuliangzhan / vue-element-extends

🌴 基于 ElementUI 2.x 的扩展组件(已废弃 Have been abandoned)
MIT License
493 stars 166 forks source link

表格列组件的属性绑定值attrs错误 #166

Open wcccode opened 5 years ago

wcccode commented 5 years ago

问题描述 Describe the bug

这边attrs应该是$attrs?同时少了inheritAttrs: false属性,导致绑定属性无法继承 **重现问题的步骤 To Reproduce** **请提供能重现问题的链接(jsfiddle、jsrun) Expected behavior** **报错信息或截图 Error message or screenshots** ![image](https://user-images.githubusercontent.com/8412497/62002771-17fc2500-b13e-11e9-94ef-50ebbdbb6490.png) **期望的结果 Expected behavior** **请填写以下版本信息 please complete the following information** - vue: ? - element-ui: ? - vue-element-extends: ?
wcccode commented 5 years ago

在绑定selectable属性时未生效,请帮忙排查下?谢谢

xuliangzhan commented 5 years ago

selectable 加不上?https://xuliangzhan.github.io/vue-element-extends/#/editable/click3

wcccode commented 5 years ago

elx-table-column这个加不上,以下不起效 <elx-table-column v-if="selectEnable" type="selection" :width="selectionWidth" align="center" :selectable="(row, idx) => {console.log('select')}" />

xuliangzhan commented 5 years ago

你应该用重现链接来描述你的问题

wcccode commented 5 years ago

image table-column.vue这里未定义selectableEvent

wcccode commented 5 years ago

image

重现链接: http://jsrun.pro/9xbKp/edit