//判断何种状态标签:语句,case,return,START,switch,status,const,221 From: https://blog.51cto.com/u_15460007/6050159
const handleStatusWork = (status: string) => {
switch (status) {
case "START":
return "开工";
case "PAUSE":
return "暂停"
}
}
//判断何种状态标签:语句,case,return,START,switch,status,const,221 From: https://blog.51cto.com/u_15460007/6050159
const handleStatusWork = (status: string) => {
switch (status) {
case "START":
return "开工";
case "PAUSE":
return "暂停"
}
}