hyzp_ybqx-Commit170:版本号更新为1.5.3+20220620。按照公司要求,已经实现只有一个登录用户记录就禁止显示下拉列表

This commit is contained in:
WinUser01
2022-06-19 10:14:15 +08:00
parent f04fae973e
commit bf0c1bce0a
4 changed files with 15 additions and 8 deletions
+2 -1
View File
@@ -137,7 +137,8 @@ class _JdTextState extends State<JdText> {
)
: Icon(
Icons.arrow_drop_down,
color: g_users.isNotEmpty ? Colors.blueAccent : Colors.grey,
// color: g_users.isNotEmpty ? Colors.blueAccent : Colors.grey,
color: g_users.length > 1 ? Colors.blueAccent : Colors.grey,
),
onPressed: widget.onEndBtn),
);