浏览代码

快速新增

jqh 5 年之前
父节点
当前提交
d5ba45d80c
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/Grid/Tools/QuickCreate.php

+ 2 - 0
src/Grid/Tools/QuickCreate.php

@@ -231,6 +231,8 @@ CSS
 
         $field->view($this->resolveView(get_class($field)));
 
+        $field::collectAssets();
+
         $this->fields->push($field);
 
         return $field;