mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 13:28:38 +08:00
代码调整
This commit is contained in:
@@ -5,13 +5,12 @@ const copyright_main_style = `${copyright_common_style} background: #e24329;`
|
||||
const copyright_sub_style = `${copyright_common_style} background: #707070;`
|
||||
|
||||
export default function createHtml(env, isBuild) {
|
||||
const { VITE_APP_TITLE, VITE_APP_DEBUG_TOOL, VITE_APP_MODE } = env
|
||||
const { VITE_APP_TITLE, VITE_APP_DEBUG_TOOL } = env
|
||||
const html = htmlPlugin({
|
||||
inject: {
|
||||
injectData: {
|
||||
title: VITE_APP_TITLE,
|
||||
debugTool: VITE_APP_DEBUG_TOOL,
|
||||
appMode: VITE_APP_MODE,
|
||||
copyrightScript: `
|
||||
<script>
|
||||
console.info('%c由%cFantastic-admin%c提供技术支持', '${copyright_sub_style}', '${copyright_main_style}', '${copyright_sub_style}', '\\nhttps://hooray.gitee.io/fantastic-admin/');
|
||||
|
||||
Reference in New Issue
Block a user