customRender:({ record })=>{const status = record.is_show;const enable =~~status ===1;const color = enable ?'green':'red';const text = enable ?'启用':'停用';returnh(Tag,{ color: color },()=> text);},
customRender:({ text })=>{const color =
text === ErrorTypeEnum.VUE?'green': text === ErrorTypeEnum.RESOURCE?'cyan': text === ErrorTypeEnum.PROMISE?'blue': ErrorTypeEnum.AJAX?'red':'purple';return<Tag color={color}>{()=> text}</Tag>;},