|
|
1
1
我相信你有两个解决方案: 1) 如果url存储在对象中,则有一个自定义类型: https://symfony.com/doc/master/bundles/EasyAdminBundle/book/list-search-show-configuration.html#url-data-type 它允许您显示url:
2) 如果没有完整的url,可以使用自定义模板尝试: https://symfony.com/doc/master/bundles/EasyAdminBundle/tutorials/custom-property-options.html#using-custom-property-options-in-templates 通过这种方式,您可以定义自定义模板来生成url,并在需要时传递参数:
|