纠正发布任务备注问题

pull/1/head
戴余标 3 years ago
parent 19469b774a
commit 263a1eac5c

@ -776,7 +776,7 @@ class _PublishTaskPageState extends State<PublishTaskPage> {
_content = await Get.to(() => TaskRemarkPage(
text: _content,
)) ??
'';
_content;
setState(() {});
},
child: Material(
@ -792,11 +792,11 @@ class _PublishTaskPageState extends State<PublishTaskPage> {
.make(),
),
Expanded(
child: '${_content == null ? '请输入任务备注' : _content}'
child: '${_content == '' ? '请输入任务备注' : _content}'
.text
.size(28.sp)
.color(Colors.black
.withOpacity(_rewardType == 0 ? 0.25 : 0.85))
.withOpacity(_content == '' ? 0.25 : 0.85))
.make(),
),
20.wb,

Loading…
Cancel
Save