|
@ -139,7 +139,7 @@ defineExpose({ |
|
|
<ft-button v-if="craft?.state === 'PAUSED'" type="primary" size="small" :click-handle="resumeCraftHandle"> |
|
|
<ft-button v-if="craft?.state === 'PAUSED'" type="primary" size="small" :click-handle="resumeCraftHandle"> |
|
|
继续 |
|
|
继续 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
<ft-button v-if="craft?.state !== 'READY'" size="small" :click-handle="stopCraftHandle"> |
|
|
|
|
|
|
|
|
<ft-button v-if="!['RUNNING', 'PAUSED'].includes(craft?.state)" size="small" :click-handle="stopCraftHandle"> |
|
|
停止 |
|
|
停止 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
</div> |
|
|
</div> |
|
|