chupjun 2020-07-28 16:45:41 172次浏览 0条评论 0 0 0
[
     'label' => '图标',
     "format"=>'raw',
     'value' => function($model) {
        return Html::img($model->image,["width"=>"84","height"=>"84"]);
     },
 ],
 
 [
    "label" => "头像",
    "format" => [
        "image", 
        [
            "width"=>"84",
            "height"=>"84"
        ]
    ],
    "value" => function ($model) { 
        return $model->image; 
    }
]

https://blog.csdn.net/DarklyFeiYang/java/article/details/101288447

亿速云
    没有找到数据。
您需要登录后才可以评论。登录 | 立即注册