diff --git a/CHANGELOG.zh_CN.md b/CHANGELOG.zh_CN.md index 00248fda7a1b8cad8110e6fa046d73e39813ec8e..de1bb27e5cc8080fadd7701f184e9eb408d72bf9 100644 --- a/CHANGELOG.zh_CN.md +++ b/CHANGELOG.zh_CN.md @@ -8,6 +8,7 @@ - **ApiTreeSelect** 修复未能正确监听`params`变化的问题 - **ImgRotateDragVerify** 修复组件`resume`方法无法调用的问题 - **TableAction** 修复 stopButtonPropagation 属性某些情况下不起作用的问题 +- **PageWrapper** 修复`class`属性无效的问题 - **BasicTable** - 修复可编辑单元格不支持`ellipsis`配置的问题 - 修复全屏模式下看不到子组件弹出层(popconfirm 以及 select、treeSelect 等编辑组件)的问题 diff --git a/src/components/Page/src/PageWrapper.vue b/src/components/Page/src/PageWrapper.vue index f502c7b114fb492eb1105b67366fdeb59b15e29e..bca134fd461e602909daa2320ee7fa514e61f349 100644 --- a/src/components/Page/src/PageWrapper.vue +++ b/src/components/Page/src/PageWrapper.vue @@ -3,7 +3,7 @@ @@ -61,7 +61,7 @@ contentClass: propTypes.string, fixedHeight: propTypes.bool, }, - setup(props, { slots }) { + setup(props, { slots, attrs }) { const wrapperRef = ref(null); const headerRef = ref(null); const contentRef = ref(null); @@ -86,6 +86,7 @@ { [`${prefixCls}--dense`]: props.dense, }, + attrs.class ?? {}, ]; });