Commit 7b9319cdea19710f793562d5948c8b7262f52f51

Authored by 朱丰兵
1 parent 56a452d3

feat: 修复老版本标签类名没有添加问题

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
packages/table/index.vue
@@ -8,7 +8,7 @@ export default { @@ -8,7 +8,7 @@ export default {
8 const props = context.props || {}; 8 const props = context.props || {};
9 if (Object.prototype.hasOwnProperty.call(props, 'editable') && props.editable !== false) { 9 if (Object.prototype.hasOwnProperty.call(props, 'editable') && props.editable !== false) {
10 setDefaultContextKey(context, 'editable'); 10 setDefaultContextKey(context, 'editable');
11 - return h('z-table-editable', { props, scopedSlots: context.scopedSlots, on: context.listeners }); 11 + return ref('z-table-editable', context);
12 } 12 }
13 if (Object.prototype.hasOwnProperty.call(props, 'editor') && props.editor) { 13 if (Object.prototype.hasOwnProperty.call(props, 'editor') && props.editor) {
14 setDefaultContextKey(context, 'editor'); 14 setDefaultContextKey(context, 'editor');