add anc
This commit is contained in:
@@ -27,3 +27,10 @@ export function updateSiteConfig(): AppThunk {
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export function getAnnouncement(): AppThunk {
|
||||
return async (dispatch, _getState) => {
|
||||
// 获取基本配置,其中包含公告信息
|
||||
await dispatch(loadSiteConfig("basic"));
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user