beetl if else 报 语法 错误。。。。

    @if(item.qtid==1){
        

    @}
    
    @else if(item.qtid==2){
    
    @}
看着没错。。但是 注意i  if 和  else if 间 有一个 空格!!!!!! 有空格会报错。。。。。。。。
原文地址:https://www.cnblogs.com/whm-blog/p/7344803.html