From 9539290f8776f5cfe42ed8af14da3c3510cb1a04 Mon Sep 17 00:00:00 2001 From: cxdbz Date: Fri, 19 Oct 2018 22:16:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=87=8D=E7=BD=AE=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/view/index/index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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;