pull/1/head
戴余标 3 years ago
parent e42684dc9e
commit 4b056947f1

@ -40,6 +40,7 @@ class _TaskPageState extends State<TaskPage> with TickerProviderStateMixin {
_refreshControllers.forEach((element) {
element.dispose();
});
_tabController.dispose();
super.dispose();
}
@ -88,7 +89,10 @@ class _TaskPageState extends State<TaskPage> with TickerProviderStateMixin {
],
)),
body: SafeArea(
child: TabBarView(controller: _tabController, children: [
child: TabBarView(
physics: const NeverScrollableScrollPhysics(),
controller: _tabController,
children: [
HallView(
refreshController: _refreshControllers[0],
type: _currentType,

@ -224,8 +224,11 @@ class _NewAdvicePageState extends State<NewAdvicePage> {
type = _type == 0 ? 3 : 4;
break;
}
if(userProvider.defaultHouse != null){
addAdvice(type, _files, _editingController.text);
}
BotToast.showText(text: '请选择房屋');
}
cancel();
},
child: '确认提交'.text.make(),

Loading…
Cancel
Save