From e18c5b4d84b5970d973208dae347ac5fd937b66f Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 04 Nov 2021 10:23:23 +0800 Subject: [PATCH] fix --- src/main/resources/templates/febs/views/modules/trademanage/bzzNewPrice.html | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/trademanage/bzzNewPrice.html b/src/main/resources/templates/febs/views/modules/trademanage/bzzNewPrice.html index 75a8df6..dad28e9 100644 --- a/src/main/resources/templates/febs/views/modules/trademanage/bzzNewPrice.html +++ b/src/main/resources/templates/febs/views/modules/trademanage/bzzNewPrice.html @@ -78,9 +78,9 @@ {field: 'newprice', title: '最新价', minWidth: 100,align:'left'}, {field: 'bzzStart', title: '是否开售', templet: function (d) { - if (d.bzzStart === '1') { + if (d.bzzStart === 1) { return '<span style="color:green;">开始</span>' - } else if (d.bzzStart === '2') { + } else if (d.bzzStart === 2) { return '<span style="color:red;">停止</span>' } else{ return '' -- Gitblit v1.9.1