Commit ef85dd3f authored by Sendya's avatar Sendya Committed by 言肆

fix: contentWidth

parent c15c6e6d
...@@ -82,7 +82,7 @@ const BasicLayout = defineComponent({ ...@@ -82,7 +82,7 @@ const BasicLayout = defineComponent({
isMobile={state.isMobile} isMobile={state.isMobile}
fixSiderbar={state.fixSiderbar} fixSiderbar={state.fixSiderbar}
fixedHeader={state.fixedHeader} fixedHeader={state.fixedHeader}
contentWidth={'Fixed'} contentWidth={'Fluid'}
primaryColor={'#1890ff'} primaryColor={'#1890ff'}
contentStyle={{ minHeight: '300px' }} contentStyle={{ minHeight: '300px' }}
siderWidth={state.sideWidth} siderWidth={state.sideWidth}
......
{ {
"name": "@ant-design-vue/pro-layout", "name": "@ant-design-vue/pro-layout",
"version": "3.0.0-beta.11", "version": "3.0.0-beta.12",
"main": "./lib/index.js", "main": "./lib/index.js",
"module": "./es/index.js", "module": "./es/index.js",
"repository": { "repository": {
......
...@@ -182,7 +182,7 @@ const ProLayout = defineComponent({ ...@@ -182,7 +182,7 @@ const ProLayout = defineComponent({
itemRender: breadcrumbRender, itemRender: breadcrumbRender,
}; };
}), }),
contentWidth: 'Fluid', contentWidth: refProps.contentWidth, // 'Fluid',
layout: refProps.layout, layout: refProps.layout,
navTheme: refProps.navTheme, navTheme: refProps.navTheme,
splitMenus: refProps.splitMenus, splitMenus: refProps.splitMenus,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment