From 1adfdb0ffed271b97cf88471c94ab2735dc12b35 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期六, 05 八月 2023 17:43:34 +0800 Subject: [PATCH] Fixed: [弱掃] p13.1 Bad use of null-like value --- PAMapp/components/Client/ClientList.vue | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/PAMapp/components/Client/ClientList.vue b/PAMapp/components/Client/ClientList.vue index 2f8285c..820c043 100644 --- a/PAMapp/components/Client/ClientList.vue +++ b/PAMapp/components/Client/ClientList.vue @@ -28,9 +28,14 @@ ////////////////////////////////////////////////////////////////////// get noDataPlaceholder(): string { - return this.title === 'reservedList' - ? '����撌脤��恥�' - : '����撌脰蝯∪恥�'; + let noDataWording = '����撌脩�����'; + if (this.title === 'contactedList') { + noDataWording = '����蝝赤銝剔���'; + } + if (this.title === 'reservedList') { + noDataWording = '������蝯∠���'; + } + return noDataWording; } } </script> -- Gitblit v1.8.0