Open rongxingsun opened 2 months ago
ActionsContent.js
children: /#PURE/_jsx(ResizeObserver, { onResize: function onResize(_ref3) { var width = _ref3.width; setRightSizeDebounceFn.run(width); }, children: contentRender ? /#PURE/_jsx("div", { style: { display: 'flex', alignItems: 'center', height: '100%', justifyContent: 'flex-end' }, children: contentRender(_objectSpread(_objectSpread({}, props), {}, { // 测试专用 //@ts-ignore rightContentSize: rightSize })) })
pageHeader/index.js
return wrapSSR( /#PURE/_jsx(ResizeObserver, { onResize: onResize, children: /#PURE/_jsxs("div", { className: className, style: style, children: [breadcrumbDom, title, childDom, footerDom] }) }));
see https://github.com/ant-design/pro-components/discussions/8837
ActionsContent.js
children: /#PURE/_jsx(ResizeObserver, { onResize: function onResize(_ref3) { var width = _ref3.width; setRightSizeDebounceFn.run(width); }, children: contentRender ? /#PURE/_jsx("div", { style: { display: 'flex', alignItems: 'center', height: '100%', justifyContent: 'flex-end' }, children: contentRender(_objectSpread(_objectSpread({}, props), {}, { // 测试专用 //@ts-ignore rightContentSize: rightSize })) })
pageHeader/index.js
return wrapSSR( /#PURE/_jsx(ResizeObserver, { onResize: onResize, children: /#PURE/_jsxs("div", { className: className, style: style, children: [breadcrumbDom, title, childDom, footerDom] }) }));