mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 03:22:56 +08:00
style(X-Pack): 同步管理,表格样式优化
Some checks are pending
Typos Check / Spell Check with Typos (push) Waiting to run
Some checks are pending
Typos Check / Spell Check with Typos (push) Waiting to run
This commit is contained in:
parent
758e7eeeed
commit
45876b08f5
@ -16,7 +16,8 @@ const props = defineProps({
|
||||
emptyDesc: propTypes.string,
|
||||
emptyImg: propTypes.string,
|
||||
border: propTypes.bool.def(false),
|
||||
showEmptyImg: propTypes.bool.def(true)
|
||||
showEmptyImg: propTypes.bool.def(true),
|
||||
dataLoading: propTypes.bool.def(false)
|
||||
})
|
||||
|
||||
const attrs = useAttrs()
|
||||
@ -129,8 +130,9 @@ defineExpose({
|
||||
:border="border"
|
||||
v-bind="state.tableAttrs"
|
||||
:data="tableData"
|
||||
:style="{ width: '100%' }"
|
||||
:style="{ width: '100%', height: '100%' }"
|
||||
v-on="state.tableEvent"
|
||||
v-loading="props.dataLoading"
|
||||
>
|
||||
<table-body :columns="columns">
|
||||
<slot />
|
||||
@ -141,6 +143,7 @@ defineExpose({
|
||||
:description="props.emptyDesc ? props.emptyDesc : $t('data_set.no_data')"
|
||||
:img-type="imgType || 'noneWhite'"
|
||||
/>
|
||||
<div v-else :style="{ width: '100%' }" />
|
||||
</template>
|
||||
</el-table>
|
||||
<div v-if="showPagination && !!tableData.length" class="pagination-cont">
|
||||
|
2
de-xpack
2
de-xpack
@ -1 +1 @@
|
||||
Subproject commit e10a7861f03fe589cd0da1f65b0511967cb05a2c
|
||||
Subproject commit 7adfed5005e81ecf01d2715b357df44c58eb75d5
|
Loading…
Reference in New Issue
Block a user