feat(short-drama-agent-front): 优化项目查询与工作区界面

This commit is contained in:
GJ
2026-09-21 19:36:47 +08:00
parent 227db5450d
commit e6d02a20a7
33 changed files with 439 additions and 513 deletions
+11
View File
@@ -0,0 +1,11 @@
const APP_TITLE = '短剧工作台'
/**
* 生成浏览器标签标题,并在项目工作区中优先展示项目名称。
* @param pageTitle 当前页面名称
* @param projectTitle 当前项目名称
* @returns 浏览器标签标题
*/
export function buildDocumentTitle(pageTitle: unknown, projectTitle?: string | null) {
return [projectTitle?.trim(), String(pageTitle || '工作空间'), APP_TITLE].filter(Boolean).join(' · ')
}