From 1ed0a1395c3f1ebdc745f7089f868abf9c6fd2df Mon Sep 17 00:00:00 2001 From: Karson Date: Thu, 15 Jan 2026 10:57:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=8F=9C=E5=8D=95=E8=A7=84?= =?UTF-8?q?=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/assets/js/backend/auth/rule.js | 2 +- public/assets/js/backend/user/rule.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/assets/js/backend/auth/rule.js b/public/assets/js/backend/auth/rule.js index 7713b0c4..33ef0dae 100755 --- a/public/assets/js/backend/auth/rule.js +++ b/public/assets/js/backend/auth/rule.js @@ -161,7 +161,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'template'], function api: { formatter: { title: function (value, row, index) { - var caret = row.haschild == 1 || row.ismenu == 1 ? '' : ''; + var caret = row.haschild == 1 ? '' : ''; value = !row.ismenu || row.status == 'hidden' ? "" + value + "" : value; return '' : ''; + var caret = row.haschild == 1 ? '' : ''; value = value.indexOf(" ") > -1 ? value.replace(/(.*) /, "$1" + caret) : caret + value; value = !row.ismenu || row.status == 'hidden' ? "" + value + "" : value;