I18nSelectPipelink
Generic selector that displays the string that matches the current value.
输入值
value | string | null | undefined | a string to be internationalized. |
参数
mapping | {
[key: string]: string;
} | an object that indicates the text that should be displayed for different values of the provided |
说明
If none of the keys of the mapping
match the value
, then the content of the other
key is returned when present, otherwise an empty string is returned.