From 9bf8cb79ad086353514d200788d6c2c2ec49004f Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 7 Aug 2020 14:52:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8E=92=E5=BA=8F=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/js/tools.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/common/js/tools.js b/nezha-fronted/src/components/common/js/tools.js index 745f14a40..b03f43159 100644 --- a/nezha-fronted/src/components/common/js/tools.js +++ b/nezha-fronted/src/components/common/js/tools.js @@ -491,7 +491,6 @@ export const tableSet = { sortableShow(prop,from){ switch(prop){ case 'id': - case 'state': if(from === 'project' || from=== 'endpointTab'){return false} case 'alertRule': case 'severity': case 'startAt': @@ -527,6 +526,8 @@ export const tableSet = { case 'cmd': case 'alertName': case 'threshold': + case 'idc': + case 'state': if(from === 'project' || from === 'endpointTab' || from === 'operationlog'){return false} return'custom'; default : return false; }