as follows, functions need to be added frequently and executed sequentially. Each function renders a different class, after the result is obtained, so it needs to be executed in turn, and some parameters need to be passed in
let testcase = {
case1:(x) =>{
console.log("case11-"+x);
},
case2:() =>{
console.log("case22");
return false;
},
case3:() =>{
console.log("case33");
}
.....
}