完成解决扫码绑定设备的黑屏bug
This commit is contained in:
@@ -66,7 +66,7 @@ class UserInfoCard extends StatelessWidget {
|
|||||||
if (code != null && code.isNotEmpty) {
|
if (code != null && code.isNotEmpty) {
|
||||||
// 识别成功,立即返回结果并关闭页面
|
// 识别成功,立即返回结果并关闭页面
|
||||||
debugPrint('扫码成功,识别到的数据: $code');
|
debugPrint('扫码成功,识别到的数据: $code');
|
||||||
Navigator.pop(context, code);
|
// Navigator.pop(context, code);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user