Procházet zdrojové kódy

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

jqh před 5 roky
rodič
revize
ae04b911b7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)) {