Explorar o código

修复Action无法自动绑定点击事件问题

jqh %!s(int64=4) %!d(string=hai) anos
pai
achega
c95dd47b4a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Actions/Action.php

+ 1 - 1
src/Actions/Action.php

@@ -151,7 +151,7 @@ abstract class Action implements Renderable
      */
     public function makeSelector()
     {
-        return 'act-'.Str::random();
+        return '.act-'.Str::random();
     }
 
     /**