yuang-framework-ui-pc
Version:
yuang-framework-ui-pc Library
29 lines (28 loc) • 998 B
JavaScript
;
const vue = require("vue");
const _sfc_main = vue.defineComponent({
name: "ExpandRow",
props: {
/** 列配置(原始配置) */
column: Object,
/** 行索引 */
rowIndex: Number,
/** 行数据(原始数据) */
rowData: Object
}
});
const _export_sfc = (sfc, props) => {
const target = sfc.__vccOpts || sfc;
for (const [key, val] of props) {
target[key] = val;
}
return target;
};
const _hoisted_1 = { class: "el-table-v2__row-cell ele-table-td" };
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
_ctx.column && _ctx.column.slot ? vue.renderSlot(_ctx.$slots, _ctx.column.slot, vue.normalizeProps(vue.mergeProps({ key: 0 }, { row: _ctx.rowData, column: _ctx.column, $index: _ctx.rowIndex }))) : vue.createCommentVNode("", true)
]);
}
const expandRow = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
module.exports = expandRow;