1
Some checks failed
Deploy to GitHub Pages / Deploy to GitHub Pages (push) Has been cancelled

This commit is contained in:
2026-03-10 10:13:01 +08:00
parent 810cbb38c2
commit 9a5a22c11a
213 changed files with 33677 additions and 0 deletions

12
src/utils/pageTitle.js Normal file
View File

@ -0,0 +1,12 @@
import { title } from '@/config'
/**
* @author https://github.com/zxwk1998/vue-admin-better 不想保留author可删除
* @description 设置标题
* @param pageTitle
* @returns {string}
*/
export default function getPageTitle(pageTitle) {
if (pageTitle) return `${pageTitle}-${title}`
return `${title}`
}