From a46b2651977d7ba8526f0c67da10a4c7d74a512a Mon Sep 17 00:00:00 2001 From: thinkgem Date: Wed, 9 Jun 2021 20:59:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=8F=E7=9B=AE=E5=92=8C=E7=AB=99=E7=82=B9?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BF=AB=E6=8D=B7=E8=BF=9B=E5=85=A5=E7=AB=99?= =?UTF-8?q?=E7=82=B9=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cms/src/main/resources/views/modules/cms/categoryList.html | 3 +++ modules/cms/src/main/resources/views/modules/cms/siteList.html | 3 +++ 2 files changed, 6 insertions(+) diff --git a/modules/cms/src/main/resources/views/modules/cms/categoryList.html b/modules/cms/src/main/resources/views/modules/cms/categoryList.html index 3c17ac80..391df42e 100644 --- a/modules/cms/src/main/resources/views/modules/cms/categoryList.html +++ b/modules/cms/src/main/resources/views/modules/cms/categoryList.html @@ -97,6 +97,9 @@ $('#dataGrid').dataGrid({ } actions.push(' '); actions.push(' '); + if (row.status == Global.STATUS_NORMAL){ + actions.push(' '); + } <% } %> return actions.join(''); }} diff --git a/modules/cms/src/main/resources/views/modules/cms/siteList.html b/modules/cms/src/main/resources/views/modules/cms/siteList.html index 3029855a..d649d341 100644 --- a/modules/cms/src/main/resources/views/modules/cms/siteList.html +++ b/modules/cms/src/main/resources/views/modules/cms/siteList.html @@ -78,6 +78,9 @@ $('#dataGrid').dataGrid({ actions.push(' '); } actions.push(' '); + if (row.status == Global.STATUS_NORMAL){ + actions.push(' '); + } <% } %> return actions.join(''); }}