fix:修复了前端无法通过历史记录切换页面的bug (#76)
Reviewed-on: PostGuard/Canon#76 Co-authored-by: ichirinko <1621543655@qq.com> Co-committed-by: ichirinko <1621543655@qq.com>
This commit is contained in:
parent
160fafef70
commit
4a712fc462
|
@ -56,7 +56,7 @@ export function Index() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
getCompileInstance();
|
getCompileInstance();
|
||||||
}, []);
|
}, [location.pathname]);
|
||||||
|
|
||||||
|
|
||||||
const handleValueChange = (value: string) => {
|
const handleValueChange = (value: string) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user