fix(ui): 账号编辑表单提升z-index至60,修复被账号查看弹窗(z-50)遮挡

This commit is contained in:
gouki
2026-08-09 00:29:49 +00:00
parent ee5a4c81cf
commit cf18cadb6b
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -215,10 +215,10 @@ const ProviderModal = {
},
};
/* 账号编辑模态框 */
/* 账号编辑模态框(z-[60]:可能叠加在账号查看弹窗 z-50 之上打开,需更高层级) */
const AccountModal = {
template: `
<div v-if="store.accountModal.show" class="fixed inset-0 bg-black/40 z-50 flex items-end md:items-center justify-center p-0 md:p-4">
<div v-if="store.accountModal.show" class="fixed inset-0 bg-black/40 z-[60] flex items-end md:items-center justify-center p-0 md:p-4">
<div class="bg-white dark:bg-slate-900 w-full md:max-w-md md:rounded-xl rounded-t-xl max-h-[92vh] overflow-y-auto">
<div class="px-5 py-3 border-b border-slate-100 dark:border-slate-800 flex justify-between items-center">
<h3 class="font-semibold text-sm">{{ store.accountModal.editing ? '编辑账号' : '新增账号' }}</h3>