AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
## 单图预览 > 图片示例: ![](https://img.kancloud.cn/78/15/78159800a4424aed11316a276205eba8_1920x903.png) > 配置项 | key | 类型 | 是否必须 | 说明 | | --- | --- | --- | --- | | templet | string | 是 | 固定值:`img` | | 通用配置... | | default | string | 否 | 值为空时的默认图片地址 | > 模板值 图片的`src`字符串。 > 提示 可预览图片。 > 代码示例: ~~~ $builder=YT('general_example')->state(DbRowState::state()) ->cols(function($state){ $cols=[ 'id'=>['type'=>'checkbox'], // 头像 'avatar'=>['title'=>'头像','align'=>'center','templet'=>'img','default'=>'/static/yunj/img/default.png'], ]; return $cols; }) ~~~