Merge "feat: add success and error status in Status component"

This commit is contained in:
Zuul 2022-11-23 05:15:27 +00:00 committed by Gerrit Code Review
commit a0ec4f5f7c

View File

@ -33,6 +33,7 @@ const successKeys = [
'complete',
'online',
'ready',
'pass',
];
const successKeysContain = ['complete'];
@ -58,6 +59,7 @@ const errorKeys = [
'power off',
'error',
'offline',
'refuse',
];
const errorKeysContain = ['fail'];