From 5fb6124f4d505f043f00a60f830998c11187a1d5 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Fri, 17 May 2024 09:03:59 +0800 Subject: [PATCH] * Delete btn when has not priv. --- module/my/js/audit.ui.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/module/my/js/audit.ui.js b/module/my/js/audit.ui.js index f5d6697b8c..5021baadf8 100644 --- a/module/my/js/audit.ui.js +++ b/module/my/js/audit.ui.js @@ -16,10 +16,7 @@ window.onRenderCell = function(result, {row, col}) } else { - result[0].props.items[0]['disabled'] = true; - delete result[0].props.items[0]['data-toggle']; - delete result[0].props.items[0]['url']; - delete result[0].props.items[0]['href']; + delete result[0].props.items[0]; } } if(result && col.name == 'title')