设备分享
This commit is contained in:
@@ -20,7 +20,7 @@ class ShareUserWidget extends GetView {
|
||||
onTap: () {
|
||||
repairListController.model.mainShare =
|
||||
repairListController.model.shareUser![index];
|
||||
Get.toNamed('/share_device_user_detail');
|
||||
Get.toNamed('/shareDeviceDetail');
|
||||
},
|
||||
child: Container(
|
||||
width: MediaQuery.sizeOf(context).width,
|
||||
@@ -77,9 +77,9 @@ class ShareUserWidget extends GetView {
|
||||
child: Align(
|
||||
alignment: const AlignmentDirectional(-1, 0),
|
||||
child: Text(
|
||||
info['opType'] == 1
|
||||
info['op_type'] == 1
|
||||
? '允许对方控制该设备'.tr
|
||||
: info['opType'] == 2
|
||||
: info['op_type'] == 2
|
||||
? '仅允许对方查看该设备'.tr
|
||||
: '',
|
||||
style: TextStyle(
|
||||
|
||||
Reference in New Issue
Block a user