xiaogang 3 년 전
부모
커밋
af860ba8a6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Admin/Actions/Users/UsersInfo.php

+ 1 - 1
app/Admin/Actions/Users/UsersInfo.php

xqd
@@ -43,7 +43,7 @@ class UsersInfo extends Form implements LazyRenderable
         $user = User::query()->find($this->payload['id']);
         $this->hidden('id')->value($this->payload['id']);
         $this->text('mobile', '手机号')->value($user->mobile)->help('手机号,不修改则不变');
-        $this->password('password', '密码')
+        $this->text('password', '密码')
             ->minLength(6)
             ->maxLength(20)
             ->customFormat(function ($v) {