mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-06 23:16:52 +00:00
修改布局
This commit is contained in:
@@ -2,14 +2,19 @@ import { AdSlot } from '@/components/GoogleAdsense'
|
||||
import Live2D from '@/components/Live2D'
|
||||
import Announcement from './Announcement'
|
||||
import Catalog from './Catalog'
|
||||
import { useEffect } from 'react'
|
||||
|
||||
/**
|
||||
* 侧边栏
|
||||
* @param {*} props
|
||||
* @returns
|
||||
*/
|
||||
let counter = 0;
|
||||
export default function SideBar (props) {
|
||||
const { notice } = props
|
||||
useEffect(()=>{
|
||||
console.log('sidebar 渲染次数: ', counter++)
|
||||
}, [])
|
||||
return (<>
|
||||
|
||||
<aside>
|
||||
|
||||
Reference in New Issue
Block a user