jqh преди 4 години
родител
ревизия
3c37f3fc6f
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      src/Show/Html.php

+ 3 - 1
src/Show/Html.php

@@ -2,6 +2,8 @@
 
 namespace Dcat\Admin\Show;
 
+use Dcat\Admin\Support\Helper;
+
 class Html extends Field
 {
     public $html;
@@ -14,6 +16,6 @@ class Html extends Field
 
     public function render()
     {
-        return $this->html;
+        return Helper::render($this->html, [], $this->parent->model());
     }
 }