fix: label为布尔时,显示错误

This commit is contained in:
hezhihang 2024-09-24 10:58:09 +08:00 committed by lmaomaoz
parent 0ce7e04ffc
commit 854a8be977

View File

@ -6,7 +6,7 @@ export function labelToString(label: any): string {
return label;
} else if (type === 'number') {
return `${label}`;
} else if (label === 'boolean') {
} else if (type === 'boolean') {
return String(label);
}