huwhois 3 년 전
부모
커밋
7334ed540c
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      app/common/model/Template.php
  2. 2 1
      view/sys/login/index.html

+ 0 - 1
app/common/model/Template.php

@@ -9,7 +9,6 @@ class Template extends Base
         
     ];
 
-
     public function templateType()
     {
         $this->belongsTo('TemplateType', 'typeid', 'typeid')->bind(['typename'=>'typename']);

+ 2 - 1
view/sys/login/index.html

@@ -104,7 +104,8 @@
                                 icon: 2
                             }, function (index) {
                                 layer.close(index);
-                                $(".login-codeimg").attr("src", $(".login-codeimg").attr("src") + '?' + Math.random());
+                                window.location.reload();
+                                // $(".login-codeimg").attr("src", $(".login-codeimg").attr("src") + '?' + Math.random());
                             });
                         }
                     },