mirror of
https://gitee.com/dromara/go-view.git
synced 2026-05-12 00:00:01 +08:00
feat: 合并标题名称功能, 解决冲突
This commit is contained in:
@@ -302,3 +302,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