修复眠花糖发送短信验证码失败。(未传客户端代码)
This commit is contained in:
@@ -151,7 +151,6 @@ class _HomePageState extends State<HomePage> {
|
||||
),
|
||||
),
|
||||
SizedBox(height: 13.rpx),
|
||||
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -586,23 +585,23 @@ class _HomePageState extends State<HomePage> {
|
||||
borderRadius: AppConstants()
|
||||
.button_container_radius, // 圆角半径
|
||||
onTap: () {
|
||||
// Get.toNamed("/qrView");
|
||||
if (userInfoController.model.login ==
|
||||
LoginStatus.LOGIN.code) {
|
||||
// Get.toNamed("/deviceType");
|
||||
TopSlideNotification.show(
|
||||
context,
|
||||
text: "待开发功能".tr,
|
||||
);
|
||||
} else {
|
||||
TopSlideNotification.show(
|
||||
context,
|
||||
text: "必须登录提示".tr,
|
||||
textColor: themeController
|
||||
.currentColor.sc9,
|
||||
);
|
||||
Get.toNamed("/loginPage");
|
||||
}
|
||||
Get.toNamed("/qrView");
|
||||
// if (userInfoController.model.login ==
|
||||
// LoginStatus.LOGIN.code) {
|
||||
// // Get.toNamed("/deviceType");
|
||||
// TopSlideNotification.show(
|
||||
// context,
|
||||
// text: "待开发功能".tr,
|
||||
// );
|
||||
// } else {
|
||||
// TopSlideNotification.show(
|
||||
// context,
|
||||
// text: "必须登录提示".tr,
|
||||
// textColor: themeController
|
||||
// .currentColor.sc9,
|
||||
// );
|
||||
// Get.toNamed("/loginPage");
|
||||
// }
|
||||
},
|
||||
colors: [
|
||||
// 渐变色
|
||||
@@ -1043,6 +1042,7 @@ class _HomePageState extends State<HomePage> {
|
||||
return Expanded(
|
||||
child: Center(
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 2,
|
||||
color: themeController.currentColor.sc1,
|
||||
)),
|
||||
// child: Column(
|
||||
|
||||
Reference in New Issue
Block a user