Commit a7e09934 authored by hywang's avatar hywang

1.版本升级

parent 2a51cd02
......@@ -138,9 +138,9 @@ class LoginLogic extends GetxController {
..showLoading()
..onResponse((response) {
if (buildNumber != response.toString()) {
DialogUtils.showToast('最新版本$response');
// DialogUtils.showLoadingDialog('正在下载新版本');
// upgrade();
// DialogUtils.showToast('最新版本$response');
DialogUtils.showLoadingDialog('正在下载新版本');
upgrade();
} else {
DialogUtils.showToast('已经是最新版本');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment