发现替换Dify title 方法

pull/19211/head
JJ-Choi1999 1 year ago
parent 3fdf43e78c
commit c092e284da

@ -96,6 +96,7 @@ const Apps = () => {
] ]
useEffect(() => { useEffect(() => {
// [todo] 替换页面title方法, 全量替换 - Dify
document.title = `${t('common.menus.apps')} - Dify` document.title = `${t('common.menus.apps')} - Dify`
if (localStorage.getItem(NEED_REFRESH_APP_LIST_KEY) === '1') { if (localStorage.getItem(NEED_REFRESH_APP_LIST_KEY) === '1') {
localStorage.removeItem(NEED_REFRESH_APP_LIST_KEY) localStorage.removeItem(NEED_REFRESH_APP_LIST_KEY)

Loading…
Cancel
Save