Browse Source

fix: 恢复表格封装代码 (#1937)

pull/1938/head
ssongliu 1 year ago committed by GitHub
parent
commit
7ad6e607fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      frontend/src/components/complex-table/index.vue

3
frontend/src/components/complex-table/index.vue

@ -3,6 +3,9 @@
<div class="complex-table__header" v-if="$slots.header || header"> <div class="complex-table__header" v-if="$slots.header || header">
<slot name="header">{{ header }}</slot> <slot name="header">{{ header }}</slot>
</div> </div>
<div v-if="$slots.toolbar" style="margin-bottom: 10px">
<slot name="toolbar"></slot>
</div>
<div class="complex-table__body"> <div class="complex-table__body">
<fu-table v-bind="$attrs" ref="tableRef" @selection-change="handleSelectionChange"> <fu-table v-bind="$attrs" ref="tableRef" @selection-change="handleSelectionChange">

Loading…
Cancel
Save