From 6778ebf0295313ce2b56bba000cef96e18afedd4 Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期五, 28 六月 2024 08:10:11 +0800 Subject: [PATCH] 角色、权限 --- HTML/views/WareHouseSetting/Pallets.html | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HTML/views/WareHouseSetting/Pallets.html b/HTML/views/WareHouseSetting/Pallets.html index a7a3e9b..7e58133 100644 --- a/HTML/views/WareHouseSetting/Pallets.html +++ b/HTML/views/WareHouseSetting/Pallets.html @@ -111,7 +111,7 @@ $(".add").hide(); }); sendData(IP + "/Basis/GetRoleRightList", {}, 'get', function(res) { - if (res.code == 0) { //鎴愬姛 + if (res.code == 200) { //鎴愬姛 for (var k = 0; k < res.data.length; k++) { if (res.data[k].MenuName == "娣诲姞鏉$爜") { $(function() { @@ -205,7 +205,7 @@ $(".addClass").hide(); }); sendData(IP + "/Basis/GetRoleRightList", {}, 'get', function(res) { - if (res.code == 0) { //鎴愬姛 + if (res.code == 200) { //鎴愬姛 for (var k = 0; k < res.data.length; k++) { if (res.data[k].MenuName == "娣诲姞鏉$爜") { $(function() { -- Gitblit v1.8.0