mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增tab名称跟随项目名称
This commit is contained in:
@@ -325,3 +325,11 @@ export const JSONParse = (data: string) => {
|
||||
return v
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* * 修改顶部标题
|
||||
* @param title
|
||||
*/
|
||||
export const setTitle = (title?: string) => {
|
||||
title && (document.title = title)
|
||||
}
|
||||
Reference in New Issue
Block a user