From a9e0d22a72501f56b1084d0e6e8dccf0166e3250 Mon Sep 17 00:00:00 2001
From: lyfO_o <764716047@qq.com>
Date: 星期三, 31 三月 2021 15:28:31 +0800
Subject: [PATCH] UPDATE

---
 src/main/webapp/user_mng.xhtml |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/main/webapp/user_mng.xhtml b/src/main/webapp/user_mng.xhtml
index fd849e5..5e590ba 100644
--- a/src/main/webapp/user_mng.xhtml
+++ b/src/main/webapp/user_mng.xhtml
@@ -37,7 +37,7 @@
         <p:panel styleClass="center-body">
             <p:panelGrid columns="5" styleClass="btn">
                 <p:commandButton value="新建" styleClass="new-btn"
-                                 process="@this"
+                                 process="@form"
                                  actionListener="#{userMngController.onNewBtnClick}"
                                  oncomplete="PF('dialog').show();"
                                  update=":dialog,:dialogForm"
@@ -195,12 +195,11 @@
                 <p:outputLabel value="账号"></p:outputLabel>
                 <p:inputText value="#{userMngController.sysUser.account}" maxlength="100"
                              required="true" requiredMessage="请输入账号"
-                             disabled="#{userMngController.action == constants.ACTION_EDIT}"></p:inputText>
+                             disabled="#{userMngController.action == constants.ACTION_EDIT}" autocomplete="off"></p:inputText>
 
                 <p:outputLabel value="密码" ></p:outputLabel>
                 <p:password value="#{userMngController.sysUser.password}" maxlength="100"
-                             requiredMessage="请输入密码"
-                            ></p:password>
+                             requiredMessage="请输入密码" autocomplete="off"></p:password>
 
                 <p:outputLabel value="电话"></p:outputLabel>
                 <p:inputText value="#{userMngController.sysUser.phone}" maxlength="30"></p:inputText>

--
Gitblit v1.9.2