feat:键盘弹出
This commit is contained in:
1 parent
70780177cb
commit
3ceaacccd9
3 files changed
+6
-2
No files matched your search
@@ -10,9 +10,9 @@ class Constants {
|
||||
static const pwdEncKey = 'pigxpigxpigxpigx';
|
||||
|
||||
/// 服务 url
|
||||
// static const apiUrl = 'https://stgl.pj.gov.cn/api';
|
||||
static const apiUrl = 'https://stgl.pj.gov.cn/api';
|
||||
|
||||
static const apiUrl = 'http://192.168.101.125:9999';
|
||||
// static const apiUrl = 'http://192.168.101.125:9999';
|
||||
|
||||
/// 静态资源 url
|
||||
static const ossUrl = apiUrl;
|
||||
|
||||
@@ -125,6 +125,9 @@ class SettingController extends GetxController {
|
||||
globalPayTableC.dispose();
|
||||
defaultGlobalPayTableC.dispose();
|
||||
mqUpdateListen.cancel();
|
||||
// 隐藏键盘
|
||||
// FocusManager.instance.primaryFocus?.unfocus();
|
||||
// SystemChannels.textInput.invokeMethod('TextInput.hide');
|
||||
}
|
||||
|
||||
void doMenu(SettingMenu v) {
|
||||
|
||||
@@ -33,6 +33,7 @@ Future<void> _bindServiceDialog(BuildContext context, SysSetting sys) async {
|
||||
direction: Axis.horizontal,
|
||||
title: Text('绑定唯一编号', style: theme.typography.xl2),
|
||||
body: FTextField(
|
||||
textInputAction: TextInputAction.none,
|
||||
controller: uniqueCodeC,
|
||||
hint: "请输入设备唯一编号",
|
||||
maxLines: 1,
|
||||
|
||||
Reference in new issue
Block a user