🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
> addHtml('代码内容) 标识符:`html` | 参数 | 含义 | 类型 | 必填 | | --- | --- | --- | --- | | html| 代码内容 | string | 是 | 自定义Html只需要一个参数 `html` ``` return FormBuilder::getInstance() ->addHtml('<img src="https://www.baidu.com/img/bd_logo1.png">') ->fetch(); ``` > 自定义Html会插入一段用户自定义的代码,通常需自行进行`Html`代码的嵌套。