fix: 模板选择弹窗下一步按钮始终可用(不选模板也可跳过)
This commit is contained in:
@@ -93,9 +93,9 @@
|
||||
<template #footer>
|
||||
<div v-if="dialogStep === 1" class="mc-footer-buttons">
|
||||
<el-button size="small" @click="onCancel">取消</el-button>
|
||||
<el-button size="small" plain @click="skipTemplate">✏️ 自定义目标</el-button>
|
||||
<el-button size="small" type="primary" :disabled="selectedTemplateIdx === null" @click="nextStep">
|
||||
下一步
|
||||
<el-button size="small" plain @click="skipTemplate">✏️ 跳过模板,自定义</el-button>
|
||||
<el-button size="small" type="primary" @click="nextStep">
|
||||
下一步 {{ selectedTemplateIdx !== null ? '(已选模板)' : '(直接跳过)' }}
|
||||
</el-button>
|
||||
</div>
|
||||
<div v-if="dialogStep === 2" class="mc-footer-buttons">
|
||||
|
||||
Reference in New Issue
Block a user