|
|
|
@ -605,6 +605,10 @@ class _EventDetailPageState extends State<EventDetailPage> {
|
|
|
|
|
minWidth: 120.w,
|
|
|
|
|
height: 55.w,
|
|
|
|
|
onPressed: () async {
|
|
|
|
|
if (_textEditingController.text.trim().isEmptyOrNull) {
|
|
|
|
|
BotToast.showText(text: '请填写内容');
|
|
|
|
|
return;
|
|
|
|
|
}else{
|
|
|
|
|
var res = await NetUtil()
|
|
|
|
|
.post(SAASAPI.community.commentInsert, params: params);
|
|
|
|
|
if (res.success) {
|
|
|
|
@ -620,6 +624,7 @@ class _EventDetailPageState extends State<EventDetailPage> {
|
|
|
|
|
BotToast.showText(text: res.msg);
|
|
|
|
|
}
|
|
|
|
|
FocusScope.of(context).requestFocus(FocusNode());
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
child: Text(
|
|
|
|
|
'发布',
|
|
|
|
|