Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

表格自适应超出页面高度 #3185

Closed
BenXi630 opened this issue Oct 24, 2023 · 1 comment
Closed

表格自适应超出页面高度 #3185

BenXi630 opened this issue Oct 24, 2023 · 1 comment

Comments

@BenXi630
Copy link

表格自适应如果带分页就会超出页面高度,如图
image
只需要把BasicTable.vue里的第437行改成
.ant-pagination { margin: 10px 0 0 !important; }

@wangjue666
Copy link
Collaborator

@BenXi630 可以提个pr

zyt520ham pushed a commit to zyt520ham/vue-vben-admin that referenced this issue Oct 25, 2023
* main: (26 commits)
  fix(BasicTable): pagination exceeds page height. close vbenjs#3185
  chore(ATypographyParagraph): fix type:check (vbenjs#3187)
  chore(TableFooter): resolve ts type error
  fix(tree): remove expandedKeys prop default value (vbenjs#3184)
  fix(Upload): The file name is too long bug (vbenjs#3182)
  feat: 增加文本省略组件 (vbenjs#3180)
  站内支持API接口地址切换 (vbenjs#3162)
  feat: Form增加ImageUpload组件 (vbenjs#3172)
  chore(demo): basicTree组件增加icon 和 switcherIcon示例
  fix(BasicTree):  not inherit slot and not show icon slot. close vbenjs#1902
  chore(BasicTable): resolve BasicTable component ts type error
  chore(BasicTree): Resolve ts type error
  fix(ApiCascader): apiParamKey not working
  fix(Menu): tab标签切换选中状态焦点重复. fix vbenjs#1681
  fix: SimpleRootMenuContextProps type error (vbenjs#3176)
  refactor: cipher (vbenjs#3174)
  feat: add pinia persist plugin (vbenjs#3173)
  fix(ApiTree): 多触发一次onchange
  chore(ApiSelect): 该组件设定成手动触发验证
  fix(ApiSelect): BasicForm emit ield-value-change twice
  ...

# Conflicts:
#	pnpm-lock.yaml
#	src/components/Form/src/components/ApiSelect.vue
#	src/locales/lang/en/common.ts
#	src/locales/lang/en/sys.ts
#	src/locales/lang/zh-CN/common.ts
#	src/locales/lang/zh-CN/sys.ts
#	src/utils/env.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants