//判断何种状态 const handleStatusWork = (status: string) => { switch (status) { case "START": return "开工"; case "PAUSE": return "暂停" } }
//判断何种状态 const handleStatusWork = (status: string) => { switch (status) { case "START": return "开工"; case "PAUSE": return "暂停" } }