之前没联网时会出错，现在加判断了

Signed-off-by: baiwgi <296216078@qq.com>