背景色修改
This commit is contained in:
parent
b7c4966727
commit
cf6d539d59
@ -331,12 +331,15 @@ export default function Index() {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
console.log('监听type', type);
|
console.log('监听type', type);
|
||||||
|
if (location.pathname.includes('/home')) {
|
||||||
nav('/home', {
|
nav('/home', {
|
||||||
state: {
|
state: {
|
||||||
keyword: keywords,
|
keyword: keywords,
|
||||||
name: type
|
name: type
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
}, [type]);
|
}, [type]);
|
||||||
|
|
||||||
const handleSearch = (value: string) => {
|
const handleSearch = (value: string) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user