Status 写反了

This commit is contained in:
2betop 2020-06-09 16:06:02 +08:00
parent 6b6b3b9e72
commit 09d0dcc162
2 changed files with 3 additions and 3 deletions

View File

@ -139,7 +139,7 @@
"react-testing-library": "6.0.4",
"strip-json-comments": "^2.0.1",
"ts-jest": "^24.0.0",
"typescript": "^3.9.3"
"typescript": "^3.9.5"
},
"jest": {
"testEnvironment": "jsdom",

View File

@ -16,8 +16,8 @@ export class StatusField extends React.Component<StatusProps, object> {
static defaultProps: Partial<StatusProps> = {
placeholder: '-',
map: {
0: 'svg-success',
1: 'svg-fail',
0: 'svg-fail',
1: 'svg-success',
success: 'svg-success',
pending: 'rolling',
fail: 'svg-fail',