From cc818f67ccdbc5e0444adf38ee10b94e483ccfbd Mon Sep 17 00:00:00 2001 From: zhangyu Date: Tue, 17 Nov 2020 17:47:25 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=96=B0=E5=A2=9Eendpoint?= =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E7=8A=B6=E6=80=81=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/js/tools.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/common/js/tools.js b/nezha-fronted/src/components/common/js/tools.js index 59f6197c0..a152379a5 100644 --- a/nezha-fronted/src/components/common/js/tools.js +++ b/nezha-fronted/src/components/common/js/tools.js @@ -534,7 +534,7 @@ export const tableSet = { case 'idc': return'custom'; case 'state': - if(from === 'project' || from === 'endpointTab' || from === 'operationlog'){ + if( from === 'operationlog'){ return false }else{ return'custom' @@ -581,6 +581,7 @@ export const tableSet = { case 'project': return'p.name'; case 'module': return'm.name'; case 'type': return'm.type'; + case 'state' :return 'es.state'; // case 'path': return'e.path'; default : return prop; } @@ -601,6 +602,7 @@ export const tableSet = { case 'project': return'p.name'; case 'module': return'm.name'; case 'type': return'm.type'; + case 'state' :return 'es.state'; // case 'path': return'e.path'; default : return prop; }