thinkPHP使用函数时字符串中不能含有管道符”|“,否则报错;

  1. {$data.name|str_repeat="|",###}报错!!!