编译报错
warning: this statement may fall through [-Wimplicit-fallthrough=]
解决方案:
给每一个switch的case后面加break;