feat:离线支持
This commit is contained in:
1 parent
0af163738f
commit
43db60d4e7
2 files changed
+2
-2
No files matched your search
@@ -37,7 +37,7 @@ Widget appTenantDialog(
|
||||
builder: (context, _) {
|
||||
final v = controller.value.firstOrNull;
|
||||
if (v == null) return const SizedBox();
|
||||
final target = selectList.firstWhere((i) => i.code == v);
|
||||
final target = selectList.firstWhere((i) => i.id == v);
|
||||
return Text(
|
||||
target.name!,
|
||||
style: theme.typography.base.copyWith(
|
||||
|
||||
@@ -160,7 +160,7 @@ class LoginController extends GetxController {
|
||||
tenantC.value = {userSetting.tenantId!};
|
||||
} else {
|
||||
if (!ObjectUtil.isEmptyList(list)) {
|
||||
tenantC.value = {list.first.code!};
|
||||
tenantC.value = {list.first.id!};
|
||||
}
|
||||
}
|
||||
// 存储租户列表
|
||||
|
||||
Reference in new issue
Block a user