소스 검색

fix: BsUi基础表格样式修改

hanxiaohui 4 달 전
부모
커밋
93e28f440c
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/components/BsUi/Table/Table.vue
  2. 0 1
      src/components/BsUi/Table/index.js

+ 1 - 1
src/components/BsUi/Table/Table.vue

@@ -90,7 +90,7 @@
     </template>
 
     <template #pager>
-      <div :class="`pager ${!has(pagerConfig, 'isFixed') || pagerConfig.isFixed ? 'page_fixed' : '' }`" v-if="pagerConfig && pagerConfig.enable">
+      <div :class="`pager ${(!has(pagerConfig, 'isFixed') || pagerConfig.isFixed) && false ? 'page_fixed' : '' }`" v-if="pagerConfig && pagerConfig.enable">
         <Pagination :pagerConfig="pagerConfig" />
       </div>
     </template>

+ 0 - 1
src/components/BsUi/Table/index.js

@@ -32,7 +32,6 @@ export const useBsTable = (options, tableRef) => {
       showOverflow: true,
       stripe: false,
       round: true,
-      height: isFixed ? `calc(100vh - 101px)` : undefined,
       cellConfig: {
         height: '40px',
         ...tableOptions.gridOptions?.cellConfig