feat(short-drama-agent-front): 优化项目查询与工作区界面
This commit is contained in:
+2
-1
@@ -1,4 +1,5 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import { buildDocumentTitle } from '../lib/document-title'
|
||||
|
||||
/** 按 graph 分路由,项目布局保留共享数据与长请求状态。 */
|
||||
export const router = createRouter({
|
||||
@@ -62,5 +63,5 @@ export const router = createRouter({
|
||||
|
||||
/** 路由切换同步浏览器标题,不依赖页面组件主动修改。 */
|
||||
router.afterEach(to => {
|
||||
document.title = `${String(to.meta.title || '工作空间')} · 短剧工作台`
|
||||
document.title = buildDocumentTitle(to.meta.title)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user