Commit a7e09934 authored by hywang's avatar hywang

1.版本升级

parent 2a51cd02
...@@ -138,9 +138,9 @@ class LoginLogic extends GetxController { ...@@ -138,9 +138,9 @@ class LoginLogic extends GetxController {
..showLoading() ..showLoading()
..onResponse((response) { ..onResponse((response) {
if (buildNumber != response.toString()) { if (buildNumber != response.toString()) {
DialogUtils.showToast('最新版本$response'); // DialogUtils.showToast('最新版本$response');
// DialogUtils.showLoadingDialog('正在下载新版本'); DialogUtils.showLoadingDialog('正在下载新版本');
// upgrade(); upgrade();
} else { } else {
DialogUtils.showToast('已经是最新版本'); 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