switch 基本用法
switch(n){
case 0 :
function a() {
};
break;
case 1 :
function b() {
};
break;
case 2 :
function c() {
};
break
}

浙公网安备 33010602011771号