取消关于主页信息的控制台输出

This commit is contained in:
轩辕龙儿 2024-02-21 08:23:50 +08:00
parent c3ba7fcdf3
commit c83b215a23

View File

@ -103,20 +103,20 @@ onMounted(() => {
getWidth(); getWidth();
window.addEventListener("resize", getWidth); window.addEventListener("resize", getWidth);
// // //
const styleTitle1 = "font-size: 20px;font-weight: 600;color: rgb(244,167,89);"; // const styleTitle1 = "font-size: 20px;font-weight: 600;color: rgb(244,167,89);";
const styleTitle2 = "font-size:12px;color: rgb(244,167,89);"; // const styleTitle2 = "font-size:12px;color: rgb(244,167,89);";
const styleContent = "color: rgb(30,152,255);"; // const styleContent = "color: rgb(30,152,255);";
const title1 = "無名の主页"; // const title1 = "";
const title2 = ` // const title2 = `
_____ __ __ _______ ____ __ // _____ __ __ _______ ____ __
|_ _| \\/ |/ ____\\ \\ / /\\ \\ / / // |_ _| \\/ |/ ____\\ \\ / /\\ \\ / /
| | | \\ / | (___ \\ \\_/ / \\ \\_/ / // | | | \\ / | (___ \\ \\_/ / \\ \\_/ /
| | | |\\/| |\\___ \\ \\ / \\ / // | | | |\\/| |\\___ \\ \\ / \\ /
_| |_| | | |____) | | | | | // _| |_| | | |____) | | | | |
|_____|_| |_|_____/ |_| |_|`; // |_____|_| |_|_____/ |_| |_|`;
const content = `\n\n版本: ${config.version}\n主页: ${config.home}\nGithub: ${config.github}`; // const content = `\n\n: ${config.version}\n: ${config.home}\nGithub: ${config.github}`;
console.info(`%c${title1} %c${title2} %c${content}`, styleTitle1, styleTitle2, styleContent); // console.info(`%c${title1} %c${title2} %c${content}`, styleTitle1, styleTitle2, styleContent);
}); });
onBeforeUnmount(() => { onBeforeUnmount(() => {