Преглед изворни кода

登陆插入用户信息调整

nn пре 8 година
родитељ
комит
6663722ae0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      js/couple.js

+ 1 - 1
js/couple.js

@@ -311,7 +311,7 @@ Couple.getMembersRow = function(h,i){//创建表格下的用户数据库循环
     btnSet.setAttribute('class','setInfo');
     btnSet.onclick=function(){ //设置操作 
         if(confirm("确定修改管理员信息吗")){
-            if(this.parentNode.parentNode.children[2].innerText === "管理员"){
+            if(this.parentNode.parentNode.children[2].innerText != "超级管理员"){
                 this.parentNode.parentNode.children[2].innerHTML = "超级管理员"
                 U.A.Request("http://cd.1473.cn/net",["db.1473.cn", "UseStudio_FeedBack", "UpdateJurisdictionName",this.parentNode.parentNode.children[0].innerText,"超级管理员"],function (r){//修改权限
                     console.log(r)