浏览代码

Button on return $this

WxAmd 4 年之前
父节点
当前提交
a03a799ac3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Form/Field/Button.php

+ 1 - 0
src/Form/Field/Button.php

@@ -28,5 +28,6 @@ $('{$this->getElementClassSelector()}').on('$event', function() {
     $callback
 });
 JS;
+        return $this;
     }
 }