think-orm icon indicating copy to clipboard operation
think-orm copied to clipboard

->find()时hidden/appen/visible 逻辑问题

Open yuyachong opened this issue 1 year ago • 8 comments

当find为空时会输出null,这时我在->find()->hidden()是会报错的; 但是在->select()->hidden()没有问题 所以,为何不能在find为空时,如果使用hidden可以自动返回null, 而不是Call to a member function hidden() on null 输出统一比较好,我们去自己判断是多余的操作

yuyachong avatar Oct 31 '23 08:10 yuyachong