Przeglądaj źródła

修复Image字段使用Macro方法无法问题

jqh 5 lat temu
rodzic
commit
ae04b911b7
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/Form/Field/ImageField.php

+ 1 - 1
src/Form/Field/ImageField.php

@@ -76,7 +76,7 @@ trait ImageField
     public function __call($method, $arguments)
     {
         if (static::hasMacro($method)) {
-            return $this;
+            return parent::__call($method, $arguments);
         }
 
         if (! class_exists(ImageManagerStatic::class)) {