From 1893085069263b011ac412ca48fafb960c2d38cb Mon Sep 17 00:00:00 2001 From: datang Date: Thu, 24 Mar 2022 13:38:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E5=B8=83=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E5=A4=87=E6=B3=A8=E7=A9=BA=E6=97=B6=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ui/function_and_service/task/publish_task_page.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ui/function_and_service/task/publish_task_page.dart b/lib/ui/function_and_service/task/publish_task_page.dart index 59034e8e..17a35f44 100644 --- a/lib/ui/function_and_service/task/publish_task_page.dart +++ b/lib/ui/function_and_service/task/publish_task_page.dart @@ -796,11 +796,11 @@ class _PublishTaskPageState extends State { .make(), ), Expanded( - child: '${_content == '' ? '请输入任务备注' : _content}' + child: '${_content.isEmptyOrNull ? '请输入任务备注' : _content}' .text .size(28.sp) .color(Colors.black - .withOpacity(_content == '' ? 0.25 : 0.85)) + .withOpacity(_content.isEmptyOrNull ? 0.25 : 0.85)) .make(), ), 20.wb,