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