📅  最后修改于: 2022-03-11 15:03:46.859000             🧑  作者: Mango
modo(value: string){
switch(value) {
case "mod1":
// if modo 1 is selected do something.
break;
case "mod2":
// if modo 2 is selected do something.
break;
case "mod3":
// if modo 3 is selected do something.
break;
}
}