diff --git a/examples/index.tsx b/examples/index.tsx index 2f36e0e8..c974b1e9 100644 --- a/examples/index.tsx +++ b/examples/index.tsx @@ -82,7 +82,7 @@ const BasicLayout = defineComponent({ isMobile={state.isMobile} fixSiderbar={state.fixSiderbar} fixedHeader={state.fixedHeader} - contentWidth={'Fixed'} + contentWidth={'Fluid'} primaryColor={'#1890ff'} contentStyle={{ minHeight: '300px' }} siderWidth={state.sideWidth} diff --git a/package.json b/package.json index dfbb71b0..6413555e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ant-design-vue/pro-layout", - "version": "3.0.0-beta.11", + "version": "3.0.0-beta.12", "main": "./lib/index.js", "module": "./es/index.js", "repository": { diff --git a/src/BasicLayout.tsx b/src/BasicLayout.tsx index 9e11fa51..3d723c83 100644 --- a/src/BasicLayout.tsx +++ b/src/BasicLayout.tsx @@ -182,7 +182,7 @@ const ProLayout = defineComponent({ itemRender: breadcrumbRender, }; }), - contentWidth: 'Fluid', + contentWidth: refProps.contentWidth, // 'Fluid', layout: refProps.layout, navTheme: refProps.navTheme, splitMenus: refProps.splitMenus,