Prechádzať zdrojové kódy

fix: BsUi基础表格样式修改

hanxiaohui 4 mesiacov pred
rodič
commit
93e28f440c

+ 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