diff --git a/src/plugin-deepinid/operation/deepinidworker.cpp b/src/plugin-deepinid/operation/deepinidworker.cpp index d46b5d2e4c..fa0d39c204 100644 --- a/src/plugin-deepinid/operation/deepinidworker.cpp +++ b/src/plugin-deepinid/operation/deepinidworker.cpp @@ -69,10 +69,8 @@ void DeepinWorker::initData() // 初始化用户登陆数据 m_model->setUserinfo(m_deepinIDProxy->userInfo()); - // 如果已经登陆,获取认证状态 - if (m_model->getLoginState()) { - licenseStateChangeSlot(); - } + // 获取认证状态 + licenseStateChangeSlot(); } void DeepinWorker::loginUser()