增加对不同帖子类型的工具函数
Change-Id: I725923ef606d0f2b434da3f5f4ab6927a5fe3e9a
diff --git a/src/views/frame/frame.tsx b/src/views/frame/frame.tsx
index 83106a1..ba17996 100644
--- a/src/views/frame/frame.tsx
+++ b/src/views/frame/frame.tsx
@@ -51,7 +51,7 @@
return (
<div style={{ display: 'block', height: '100vh' }}>
<header className={style.header}>
- <img className={style.logo} src={logo} alt="website logo"></img>
+ <img className={style.logo} src={logo} alt="website logo" onClick={()=>navigate('/')}></img>
{showSearch && (
// <input className={style.searchInput} placeholder="输入关键词进行搜索"/>
<input