更新相关链接

This commit is contained in:
hooray
2022-05-08 09:15:53 +08:00
parent 05b9d00994
commit cefc6eaebc
4 changed files with 10 additions and 43 deletions
+4 -2
View File
@@ -4,9 +4,11 @@ export default function createBanner() {
return banner(`
/**
* 由 Fantastic-admin 提供技术支持
* https://hooray.gitee.io/fantastic-admin/
* Powered by Fantastic-admin
* https://hooray.github.io/fantastic-admin/
* https://fantastic-admin.netlify.app
* 代码仓库
* Gitee https://gitee.com/hooray/fantastic-admin
* Github https://github.com/hooray/fantastic-admin
*/
`)
}
+5 -2
View File
@@ -13,8 +13,11 @@ export default function createHtml(env, isBuild) {
debugTool: VITE_APP_DEBUG_TOOL,
copyrightScript: `
<script>
console.info('%c由%cFantastic-admin%c提供技术支持', '${copyright_sub_style}', '${copyright_main_style}', '${copyright_sub_style}', '\\nhttps://hooray.gitee.io/fantastic-admin/');
console.info('%cPowered by%cFantastic-admin', '${copyright_sub_style}', '${copyright_main_style}', '\\nhttps://hooray.github.io/fantastic-admin/');
if ((navigator.language || navigator.browserLanguage).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');
}
</script>
`
}