const log = function(){ /* ██████ ███░░███ ░███ ░░░ ████████ ██████ ██████ █████ █████ ████ ████████ ███████ ░░███░░███ ███░░███ ███░░███ ██████████ ███░░ ░░███ ░███ ░░███░░███ ░░░███░ ░███ ░░░ ░███████ ░███████ ░░░░░░░░░░ ░░█████ ░███ ░███ ░███ ░███ ░███ ░███ ░███░░░ ░███░░░ ░░░░███ ░███ ░███ ░███ ░███ █████ █████ ░░██████ ░░██████ ██████ ░░████████ ████ █████ ░░░░░ ░░░░░ ░░░░░░ ░░░░░░ ░░░░░░ ░░░░░░░░ ░░░░ ░░░░░ */ }; const print_log = ()=>{ let lines = new String(log); lines = lines.substring(lines.indexOf('/*') + 3, lines.lastIndexOf('*/')); const co = '\n ©2010-'+new Date().getFullYear()+ ' 飞尚科技'; console.log('%c ' + lines + co, 'color:#3af'); }; export default print_log;