syntax error, unexpected 'endforeach' (T_ENDFOREACH), expecting elseif (T_EL

syntax error, unexpected 'endforeach' (T_ENDFOREACH), expecting elseif (T_EL

这是因为,在blade模板里,写的代码:@if()xxxx@endif   需要在xxxx的两边 有空格

posted @ 2020-04-26 18:15  养猪至富  阅读(867)  评论(0)    收藏  举报