huwhois 2 rokov pred
rodič
commit
7334ed540c

+ 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());
                             });
                         }
                     },