style: 修复折叠按钮样式

This commit is contained in:
xlsea 2024-05-25 10:41:05 +08:00
commit 902b559f32
2 changed files with 15 additions and 16 deletions

View File

@ -81,7 +81,7 @@ onActivated(() => {
<iframe
ref="iframeRef"
class="size-full"
:src="`${mode === 'prod' ? baseUrl : '/'}lib/index.html?id=${id}&mode=${mode}&x1c2Hdd6=${value}`"
:src="`${mode === 'prod' ? baseUrl + '/' : '/'}lib/index.html?id=${id}&mode=${mode}&x1c2Hdd6=${value}`"
/>
</NSpin>
</template>

View File

@ -165,9 +165,9 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
{$t('common.edit')}
</NButton>
<n-divider vertical />
{hasAuth('R_ADMIN') ? (
<>
<n-divider vertical />
<NPopconfirm onPositiveClick={() => handleDelete(row.id!)}>
{{
default: () => $t('common.confirmDelete'),
@ -178,9 +178,8 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
)
}}
</NPopconfirm>
) : (
''
)}
</>
) : null}
<n-divider vertical />