修复 Client异常

This commit is contained in:
tangly
2022-11-19 21:10:30 +08:00
parent 3f6079ecc8
commit ba9794e095
5 changed files with 31 additions and 26 deletions

View File

@@ -24,7 +24,7 @@ const LayoutBase = props => {
<Nav {...props} />
{/* 主体 */}
<div className="w-full">
<div id='container-inner' className="w-full">
<Title {...props} />

View File

@@ -30,7 +30,7 @@ const LayoutBase = (props) => {
<div className='flex'>
<AsideLeft {...props} slot={leftAreaSlot}/>
<main id='wrapper' className='flex w-full py-8 justify-center'>
<div className='2xl:max-w-6xl md:max-w-4xl w-full'>
<div id='container-inner' className='2xl:max-w-6xl md:max-w-4xl w-full'>
<div> {headerSlot} </div>
<div>{children}</div>
</div>

View File

@@ -30,7 +30,7 @@ const LayoutBase = props => {
{/* 桌面端左侧菜单 */}
{/* <LeftMenuBar/> */}
<div className='w-full'>
<div id='container-inner' className='w-full'>
{/* 移动端顶部菜单 */}
<TopNavBar {...props}/>
<div className='px-5 max-w-5xl justify-center mx-auto min-h-screen'>

View File

@@ -70,7 +70,7 @@ const LayoutBase = (props) => {
<main id='wrapper' className='flex justify-center flex-1 pb-12'>
<SideAreaLeft slot={leftAreaSlot} targetRef={targetRef} {...props}/>
<section id='center' className={`${CONFIG_NEXT.NAV_TYPE !== 'normal' ? 'mt-40' : ''} lg:max-w-3xl xl:max-w-4xl flex-grow md:mt-0 min-h-screen w-full`} ref={targetRef}>
<section id='container-inner' className={`${CONFIG_NEXT.NAV_TYPE !== 'normal' ? 'mt-40' : ''} lg:max-w-3xl xl:max-w-4xl flex-grow md:mt-0 min-h-screen w-full`} ref={targetRef}>
{onLoading ? <LoadingCover/> : <> {children}</> }
</section>
{/* 右侧栏样式 */}