forked from p96170835/amis
Status 写反了
This commit is contained in:
parent
c3efc5e459
commit
c293a45dc2
|
@ -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",
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue