* fix: The banner configuration is not enabled, resulting in console errors
* refactor: simplify banner visibility check and improve error handling in showBanner function
---------
Co-authored-by: jump-and-jump <984292420@qq.com>
Co-authored-by: L4Ph <4ranci0ne@gmail.com>