Split cases according to different projects

Split cases according to different projects, pls check by my darling
标注的这行代码不是应该和if语句保持一致吗？不就是该这样的缩进吗？难道要和if语句内的代码保持一致？