|
|
@ -9,7 +9,8 @@ import { set } from 'lodash-es' |
|
|
|
import { Pagination, TableColumn, TableSetPropsType, TableSlotDefault } from '@/types/table' |
|
|
|
import { useCache } from '@/hooks/web/useCache' |
|
|
|
const { wsCache } = useCache() |
|
|
|
let SearchoffsetHeight =(wsCache.get('SearchoffsetHeight') + 310 )+'px' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default defineComponent({ |
|
|
|
// eslint-disable-next-line vue/no-reserved-component-names |
|
|
@ -17,7 +18,6 @@ export default defineComponent({ |
|
|
|
props: { |
|
|
|
pageSize: propTypes.number.def(10), |
|
|
|
currentPage: propTypes.number.def(1), |
|
|
|
height: propTypes.string.def('calc(100vh - '+SearchoffsetHeight+')'), |
|
|
|
// 是否多选 |
|
|
|
selection: propTypes.bool.def(false), |
|
|
|
// 是否所有的超出隐藏,优先级低于schema中的showOverflowTooltip, |
|
|
@ -293,7 +293,6 @@ export default defineComponent({ |
|
|
|
// @ts-ignore |
|
|
|
ref={elTableRef} |
|
|
|
data={unref(getProps).data} |
|
|
|
height={unref(getProps).height} |
|
|
|
onSelection-change={selectionChange} |
|
|
|
onSort-change={sortChange} |
|
|
|
{...unref(getBindValue)} |
|
|
|