|
|
@ -105,7 +105,7 @@ export function useTable() { |
|
|
|
{ |
|
|
|
{ |
|
|
|
circle: true, |
|
|
|
circle: true, |
|
|
|
type: 'info', |
|
|
|
type: 'info', |
|
|
|
size: 'tiny', |
|
|
|
size: 'small', |
|
|
|
disabled: row.releaseState === 'ONLINE', |
|
|
|
disabled: row.releaseState === 'ONLINE', |
|
|
|
onClick: () => { |
|
|
|
onClick: () => { |
|
|
|
handleEdit(row) |
|
|
|
handleEdit(row) |
|
|
@ -120,7 +120,7 @@ export function useTable() { |
|
|
|
{ |
|
|
|
{ |
|
|
|
circle: true, |
|
|
|
circle: true, |
|
|
|
type: row.releaseState === 'ONLINE' ? 'error' : 'warning', |
|
|
|
type: row.releaseState === 'ONLINE' ? 'error' : 'warning', |
|
|
|
size: 'tiny', |
|
|
|
size: 'small', |
|
|
|
onClick: () => { |
|
|
|
onClick: () => { |
|
|
|
handleReleaseState(row) |
|
|
|
handleReleaseState(row) |
|
|
|
} |
|
|
|
} |
|
|
@ -153,7 +153,7 @@ export function useTable() { |
|
|
|
{ |
|
|
|
{ |
|
|
|
circle: true, |
|
|
|
circle: true, |
|
|
|
type: 'error', |
|
|
|
type: 'error', |
|
|
|
size: 'tiny' |
|
|
|
size: 'small' |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
icon: () => h(DeleteOutlined) |
|
|
|
icon: () => h(DeleteOutlined) |
|
|
|