请查看自己的代码的判断条件写法是否正确,例如 if条件语句中的char==‘str’,写成了char=‘str’,语法错误。 转载于:https://www.cnblogs.com/liujiale/p/10937483.html