修改分享设备信息
This commit is contained in:
@@ -80,6 +80,7 @@ class BlueteethBindController extends GetControllerEx<BlueteethBindModel> {
|
|||||||
RxMap selectWifi = {}.obs; //正在连接wifi信息
|
RxMap selectWifi = {}.obs; //正在连接wifi信息
|
||||||
|
|
||||||
int returnPage = 0; //0返回首页 1.返回设备列表
|
int returnPage = 0; //0返回首页 1.返回设备列表
|
||||||
|
var shareDevice;//分享设备信息
|
||||||
|
|
||||||
// 安全展示 TopSlideNotification
|
// 安全展示 TopSlideNotification
|
||||||
void safeShowNotification(String msg) {
|
void safeShowNotification(String msg) {
|
||||||
@@ -257,7 +258,7 @@ class BlueteethBindController extends GetControllerEx<BlueteethBindModel> {
|
|||||||
// return ApiResponse(code: -1, msg: "未知错误".tr);
|
// return ApiResponse(code: -1, msg: "未知错误".tr);
|
||||||
// }
|
// }
|
||||||
|
|
||||||
Future<ApiResponse> updateDeviceStatus() async {
|
Future<ApiResponse> updateDeviceStatus() async {
|
||||||
try {
|
try {
|
||||||
String serviceAddress = ServiceConstant.service_address;
|
String serviceAddress = ServiceConstant.service_address;
|
||||||
String serviceName = ServiceConstant.server_service;
|
String serviceName = ServiceConstant.server_service;
|
||||||
|
|||||||
@@ -241,6 +241,7 @@ class _MHTBindDeviceSuccessState extends State<MHTBindDeviceSuccess> {
|
|||||||
borderRadius:
|
borderRadius:
|
||||||
AppConstants().normal_container_radius, // 圆角半径
|
AppConstants().normal_container_radius, // 圆角半径
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
|
var data = blueteethBindController.shareDevice;
|
||||||
// TopSlideNotification.show(
|
// TopSlideNotification.show(
|
||||||
// context,
|
// context,
|
||||||
// text: "功能开发中...",
|
// text: "功能开发中...",
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void _initController() {
|
void _initController() {
|
||||||
|
blueteethBindController.shareDevice = widget.deviceInfo;
|
||||||
blueteethBindController.netType.value = 0;
|
blueteethBindController.netType.value = 0;
|
||||||
blueteethBindController.connectStatus.value = 0;
|
blueteethBindController.connectStatus.value = 0;
|
||||||
blueteethBindController.wifiList = [].obs;
|
blueteethBindController.wifiList = [].obs;
|
||||||
|
|||||||
Reference in New Issue
Block a user