From c0128a2e6c8b5d01711b4f0ee6b48529d903b97b Mon Sep 17 00:00:00 2001
From: Karson <karsonzhang@163.com>
Date: Mon, 18 Mar 2019 20:22:44 +0800
Subject: [PATCH] 优化权限规则菜单的请求

---
 public/assets/js/backend/auth/rule.js | 2 ++
 1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/public/assets/js/backend/auth/rule.js b/public/assets/js/backend/auth/rule.js
index 7573709..0e3d9f2 100755
--- a/public/assets/js/backend/auth/rule.js
+++ b/public/assets/js/backend/auth/rule.js
@@ -74,8 +74,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'template'], function
                     $(this).data("shown", !status);
                     return false;
                 });
+                //点击切换/排序/删除操作后刷新左侧菜单
                 $(".btn-change[data-id],.btn-delone,.btn-dragsort").data("success", function (data, ret) {
                     Fast.api.refreshmenu();
+                    return false;
                 });
 
             });
--
libgit2 0.24.0