使用;Laravel-admin,如何在 tree 布局加 where
我建的category是统一表,用字段sy进行区分 ,现在想让里面某一类sy使用树状图展示,有人知道怎么加条件进行筛选吗 ?
Category::tree();//显示全部
推荐文章: