mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 13:48:38 +08:00
16 lines
725 B
TypeScript
16 lines
725 B
TypeScript
/* eslint-disable no-console */
|
|
// 请勿删除
|
|
if (import.meta.env.PROD) {
|
|
const copyright_common_style = 'font-size: 14px; margin-bottom: 2px; padding: 6px 8px; color: #fff;'
|
|
const copyright_main_style = `${copyright_common_style} background: #e24329;`
|
|
const copyright_sub_style = `${copyright_common_style} background: #707070;`
|
|
if ((navigator.language).toLowerCase() === 'zh-cn') {
|
|
console.info('%c由%cFantastic-admin%c驱动', copyright_sub_style, copyright_main_style, copyright_sub_style, '\nhttps://gitee.com/hooray/fantastic-admin')
|
|
}
|
|
else {
|
|
console.info('%cPowered by%cFantastic-admin', copyright_sub_style, copyright_main_style, '\nhttps://github.com/hooray/fantastic-admin')
|
|
}
|
|
}
|
|
|
|
export {}
|