feat(componentDeployment): 实例编译状态增加新的枚举值

feature
钟良源 1 month ago
parent e410fabf20
commit 2657452977

@ -72,15 +72,22 @@ export const startStatusMap = startStatusDic.reduce((obj, item) => {
* BUILT_SUCCESS
* BUILT_FAILED
* BUILT_CANCELED
* BUILT_NEVER
*/
export const compileStatusConstant = {
BUILT_IDLE: 'idle',
BUILT_RUNNING: 'running',
BUILT_SUCCESS: 'success',
BUILT_FAILED: 'failed',
BUILT_CANCELED: 'canceled'
BUILT_CANCELED: 'canceled',
BUILT_NEVER: 'never',
};
export const compileStatusDic = [
{
label: '未编译',
value: compileStatusConstant.BUILT_RUNNING,
color: 'gray'
},
{
label: '空闲中',
value: compileStatusConstant.BUILT_IDLE,
@ -89,7 +96,7 @@ export const compileStatusDic = [
{
label: '编译中',
value: compileStatusConstant.BUILT_RUNNING,
color: 'gray'
color: 'blue'
},
{
label: '编译成功',

Loading…
Cancel
Save