diff --git a/CHANGELOG.zh_CN.md b/CHANGELOG.zh_CN.md index 2e8f0fff..7bae5886 100644 --- a/CHANGELOG.zh_CN.md +++ b/CHANGELOG.zh_CN.md @@ -1,3 +1,9 @@ +## Wip + +### 🐛 Bug Fixes + +- 修复抽屉组件自动高度及显示 footer 显示问题 + # 2.0.0-rc.4 (2020-10-21) ### ✨ Features @@ -24,6 +30,7 @@ - 修复预览命令不打包问题 - 修复表格 actionColOptions 参数不生效问题 - 修复表格刷新表单 loading 不生效问题 +- 修复带参界面刷新参数丢失问题 # 2.0.0-rc.3 (2020-10-19) diff --git a/src/components/Drawer/src/BasicDrawer.tsx b/src/components/Drawer/src/BasicDrawer.tsx index a83a4db8..5094b6b1 100644 --- a/src/components/Drawer/src/BasicDrawer.tsx +++ b/src/components/Drawer/src/BasicDrawer.tsx @@ -109,7 +109,7 @@ export default defineComponent({ if (showFooter && footerHeight) { return isNumber(footerHeight) ? `${footerHeight}px` : `${footerHeight.replace('px', '')}px`; } - return 0; + return `0px`; }); function renderFooter() { const { @@ -195,7 +195,6 @@ export default defineComponent({ return () => { const footerHeight = unref(getFooterHeight); - return (