取消关于主页信息的控制台输出
This commit is contained in:
parent
c3ba7fcdf3
commit
c83b215a23
28
src/App.vue
28
src/App.vue
@ -103,20 +103,20 @@ onMounted(() => {
|
||||
getWidth();
|
||||
window.addEventListener("resize", getWidth);
|
||||
|
||||
// 控制台输出
|
||||
const styleTitle1 = "font-size: 20px;font-weight: 600;color: rgb(244,167,89);";
|
||||
const styleTitle2 = "font-size:12px;color: rgb(244,167,89);";
|
||||
const styleContent = "color: rgb(30,152,255);";
|
||||
const title1 = "無名の主页";
|
||||
const title2 = `
|
||||
_____ __ __ _______ ____ __
|
||||
|_ _| \\/ |/ ____\\ \\ / /\\ \\ / /
|
||||
| | | \\ / | (___ \\ \\_/ / \\ \\_/ /
|
||||
| | | |\\/| |\\___ \\ \\ / \\ /
|
||||
_| |_| | | |____) | | | | |
|
||||
|_____|_| |_|_____/ |_| |_|`;
|
||||
const content = `\n\n版本: ${config.version}\n主页: ${config.home}\nGithub: ${config.github}`;
|
||||
console.info(`%c${title1} %c${title2} %c${content}`, styleTitle1, styleTitle2, styleContent);
|
||||
// // 控制台输出
|
||||
// const styleTitle1 = "font-size: 20px;font-weight: 600;color: rgb(244,167,89);";
|
||||
// const styleTitle2 = "font-size:12px;color: rgb(244,167,89);";
|
||||
// const styleContent = "color: rgb(30,152,255);";
|
||||
// const title1 = "無名の主页";
|
||||
// const title2 = `
|
||||
// _____ __ __ _______ ____ __
|
||||
// |_ _| \\/ |/ ____\\ \\ / /\\ \\ / /
|
||||
// | | | \\ / | (___ \\ \\_/ / \\ \\_/ /
|
||||
// | | | |\\/| |\\___ \\ \\ / \\ /
|
||||
// _| |_| | | |____) | | | | |
|
||||
// |_____|_| |_|_____/ |_| |_|`;
|
||||
// const content = `\n\n版本: ${config.version}\n主页: ${config.home}\nGithub: ${config.github}`;
|
||||
// console.info(`%c${title1} %c${title2} %c${content}`, styleTitle1, styleTitle2, styleContent);
|
||||
});
|
||||
|
||||
onBeforeUnmount(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user