公告板
版本库
filestore
活动
搜索
登录
main
/
onbus_crm
CRM系统前端
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
fix: repair login about redirect query (#3592)
xachary
2024-02-11
236ddf3471a7851ff6541f5709e9cbb6105b58f7
[onbus_crm.git]
/
src
/
utils
/
log.ts
1
2
3
4
5
6
7
8
9
const projectName = import.meta.env.VITE_GLOB_APP_TITLE;
export function warn(message: string) {
console.warn(`[${projectName} warn]:${message}`);
}
export function error(message: string) {
throw new Error(`[${projectName} error]:${message}`);
}