jqh 5 лет назад
Родитель
Сommit
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());
     }
 }