Commit 398c987dbc179c1cdee70631f3dc866f80090bf8
1 parent
f946f1ce
反馈内容小于10个时点击按钮不提交
Showing
1 changed file
with
4 additions
and
0 deletions
lib/pages/user/setting/reback_page.dart
... | ... | @@ -111,6 +111,10 @@ class ReBackPageState extends State<ReBackPage> { |
111 | 111 | 4.5.verticalSpace, |
112 | 112 | GestureDetector( |
113 | 113 | onTap: () { |
114 | + if (_textInputStr.length < 10) { | |
115 | + // 输入范围为10-450以内 | |
116 | + return; | |
117 | + } | |
114 | 118 | userFeedBack(_textInputStr); |
115 | 119 | }, |
116 | 120 | child: Container( | ... | ... |