function test(){ var param = [[${list}]];//以集合为例 } 如果list里面是实体类那么就需要重写toString,或者转为json 转载于:https://www.cnblogs.com/ch94/p/10030440.html