diff --git a/application/admin/view/index/index.html b/application/admin/view/index/index.html index 8d7e8d5e..3ba52b3c 100644 --- a/application/admin/view/index/index.html +++ b/application/admin/view/index/index.html @@ -90,6 +90,8 @@ "targets": -1, "className":'.td-manage', "render": function(data, type, row, meta) { + // 初始化密码 + resetpw = ''; // 停用按钮 stopbut = ''; // 启用按钮 @@ -101,9 +103,9 @@ delbut = ''; if(row.status == '已停用') { - buts = startbut + readbut + editbut + delbut; + buts = resetpw + startbut + readbut + editbut + delbut; }else{ - buts = stopbut + readbut + editbut + delbut; + buts = resetpw + stopbut + readbut + editbut + delbut; } return buts;