jqh 4 years ago
parent
commit
3c37f3fc6f
1 changed files with 3 additions and 1 deletions
  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());
     }
 }