使用消息循环
Signed-off-by: yanzhenjiang <836045106@qq.com>