$show->description('描述');
当 description 是html 内容时,html的标签会被转义;查找文档无果,查看源码找到了解决办法
vendor\encore\laravel-admin\src\Show\Field.php
/** * Set escape or not for this field. * * @param bool $escape * * @return $this */ public function setEscape($escape = true) { $this->escape = $escape; return $this; }
调用 setEscape 方法即可
$show->description('描述')->setEscape(false);
曼妮啊啊啊啊
[url=https://1680380.com/view/xingyft/pk10kai.html]幸运飞艇[/url]
[url=https://www.1680380.com/view/kuai3_anhui/kuai3_index.html]安徽快3[/url]
[url=https://www.1680380.com/view/tw_539/Today539_index.html]台湾今彩539[/url]