From 7568f51e2831531d027a26401f4aa65a0d592baf Mon Sep 17 00:00:00 2001 From: cuibaocheng Date: Thu, 2 Sep 2021 14:26:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=94=AF=E4=BB=98/=E7=BC=B4?= =?UTF-8?q?=E8=B4=B9/=E6=8F=90=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/account/list.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/account/list.html b/src/main/resources/templates/account/list.html index c21fd4f..113a3cd 100644 --- a/src/main/resources/templates/account/list.html +++ b/src/main/resources/templates/account/list.html @@ -123,8 +123,8 @@ {field: 'accountMoney', width: 180, title: '账户金额', align:'center', templet: function(row) { var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; + if(rowData == 0) { + return '0.00 RMB'; } return (rowData / 100.00) + ' RMB'; }