This commit is contained in:
@@ -356,33 +356,22 @@ function autoRun() {
|
||||
/>
|
||||
|
||||
<!-- 调试控制按钮 -->
|
||||
<n-flex align="center" justify="center" style="margin-top: 20px">
|
||||
<n-flex size="large" justify="center" style="margin-top: 20px">
|
||||
<!-- 步骤控制 -->
|
||||
<n-tooltip>
|
||||
<template #trigger>
|
||||
<n-button @click="firstStep">
|
||||
<n-button circle @click="firstStep">
|
||||
<template #icon>
|
||||
<Icon icon="material-symbols:skip-previous" />
|
||||
</template>
|
||||
</n-button>
|
||||
</template>
|
||||
第一步
|
||||
</n-tooltip>
|
||||
|
||||
<n-tooltip>
|
||||
<template #trigger>
|
||||
<n-button type="primary" @click="prevStep">
|
||||
<n-button circle type="primary" @click="prevStep">
|
||||
<template #icon>
|
||||
<Icon icon="tabler:chevron-left" />
|
||||
</template>
|
||||
</n-button>
|
||||
</template>
|
||||
上一步
|
||||
</n-tooltip>
|
||||
|
||||
<n-tooltip>
|
||||
<template #trigger>
|
||||
<n-button
|
||||
circle
|
||||
:type="isAutoRunning ? 'warning' : 'info'"
|
||||
@click="autoRun"
|
||||
>
|
||||
@@ -396,31 +385,18 @@ function autoRun() {
|
||||
/>
|
||||
</template>
|
||||
</n-button>
|
||||
</template>
|
||||
{{ isAutoRunning ? "暂停自动运行" : "开始自动运行" }}
|
||||
</n-tooltip>
|
||||
|
||||
<n-tooltip>
|
||||
<template #trigger>
|
||||
<n-button type="error" @click="nextStep">
|
||||
<n-button circle type="error" @click="nextStep">
|
||||
<template #icon>
|
||||
<Icon icon="tabler:chevron-right" />
|
||||
</template>
|
||||
</n-button>
|
||||
</template>
|
||||
下一步
|
||||
</n-tooltip>
|
||||
|
||||
<n-tooltip>
|
||||
<template #trigger>
|
||||
<n-button @click="lastStep">
|
||||
<n-button circle @click="lastStep">
|
||||
<template #icon>
|
||||
<Icon icon="material-symbols:skip-next" />
|
||||
</template>
|
||||
</n-button>
|
||||
</template>
|
||||
最后一步
|
||||
</n-tooltip>
|
||||
</n-flex>
|
||||
|
||||
<!-- 调试进度条 -->
|
||||
|
||||
Reference in New Issue
Block a user