mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix: label为布尔时,显示错误
This commit is contained in:
parent
0ce7e04ffc
commit
854a8be977
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user