From 458ae1f76971883a62d0230d0e9e53196a8fc912 Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期四, 15 八月 2024 16:21:44 +0800 Subject: [PATCH] Merge branch 'hwh' --- HTML/views/index.html | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HTML/views/index.html b/HTML/views/index.html index 7b2aa69..bb31ca3 100644 --- a/HTML/views/index.html +++ b/HTML/views/index.html @@ -167,9 +167,9 @@ } sendData(IP + "/Basis/GetRoleRightList", {}, 'get', function(res) { - if (res.code == 200) { //鎴愬姛 + if (res.code == 0) { //鎴愬姛 var list = res.data.filter(item => item.level == "0"); - + localStorage.setItem('listRole',JSON.stringify(res.data)); if (list) { for (var i = 0; i < list.length; i++) { if (list[i].MenuNo == "9000") { //鍒ゆ柇鏄惁鏄痯da鐨勬潈闄� 鏄細璺宠繃 @@ -212,7 +212,7 @@ }); sendData(IP + "/Basis/IsPassWordTime", "", 'get', function(res) { - if (res.code == 200 && res.data == 1) { //鎴愬姛 + if (res.code == 0 && res.data == 1) { //鎴愬姛 layer.open({ type: 2, title: '瀵嗙爜宸茶繃鏈燂紝璇蜂慨鏀瑰瘑鐮�', -- Gitblit v1.8.0