Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
YongZL committed Jan 10, 2024
1 parent 6d3308c commit c81086a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const Header: FC<HeaderType> = ({
}
}, [])

const onChooseItem = (e) => {
const onChooseItem = (e: string) => {
setChooseValue(e)
setIsShow(false)
document.body.classList.remove('overflow-hidden')
Expand Down
4 changes: 1 addition & 3 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ const config: Config = {
md: [{ min: '900px', max: '1280px' }],
sm: { min: '900px' },
},
backgroundColor: {
'full-screen': 'rgba(255, 255, 255, 0)', // 透明白色
},

width: {
container: '1280px',
},
Expand Down

0 comments on commit c81086a

Please sign in to comment.