Commit 215a002f by 孙香冬
parents a315a7fd 4f1c0b32
......@@ -245,6 +245,7 @@ export function checkEnumValue(enumConf, value:any) {
* @returns string 返回字符串 如果传入多个枚举值,就拼接字符串
*/
export function changeEnumValue(enumConf, value:any) {
if (!value) return '';
if ( typeof value == 'number' ) {
return enumConf[value];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment