refactor: 项目弹窗操作按钮移入固定底部区域
This commit is contained in:
1 parent
86b3d41eae
commit
34a885c6ce
1 file changed
+2
-2
@@ -62,9 +62,9 @@ async function remove() {
|
||||
<NAlert v-if="state.error" type="error" :show-icon="false" class="mt-3">{{ state.error }}</NAlert>
|
||||
<p class="mt-5 text-xs">请输入 <strong>{{ expected }}</strong> 确认删除:</p>
|
||||
<NInput v-model:value="state.confirm" class="mt-2" placeholder="输入项目名称" />
|
||||
<div class="dialog-footer">
|
||||
<template #footer>
|
||||
<NButton @click="open = false">取消</NButton>
|
||||
<NButton type="error" :loading="state.pending" :disabled="!confirmed || readinessPending || !readiness?.canDelete" @click="remove">永久删除项目</NButton>
|
||||
</div>
|
||||
</template>
|
||||
</AppDialog>
|
||||
</template>
|
||||
Reference in new issue
Block a user