修复无法自动打开首页的bug

Signed-off-by: Meathill <meathill@gmail.com>