近日使用tp5时报错:
Indirect modification of overloaded element of think\Collection has no effect
解决办法:
在select查询语句后面加上toArray()
例:
近日使用tp5时报错:
Indirect modification of overloaded element of think\Collection has no effect
解决办法:
在select查询语句后面加上toArray()
例: