style: 修复折叠按钮样式

This commit is contained in:
xlsea 2024-05-25 10:38:38 +08:00
parent e1f063bb3d
commit 6ce84996cf
2 changed files with 15 additions and 16 deletions

View File

@ -81,7 +81,7 @@ onActivated(() => {
<iframe <iframe
ref="iframeRef" ref="iframeRef"
class="size-full" 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> </NSpin>
</template> </template>

View File

@ -165,22 +165,21 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
{$t('common.edit')} {$t('common.edit')}
</NButton> </NButton>
<n-divider vertical />
{hasAuth('R_ADMIN') ? ( {hasAuth('R_ADMIN') ? (
<NPopconfirm onPositiveClick={() => handleDelete(row.id!)}> <>
{{ <n-divider vertical />
default: () => $t('common.confirmDelete'), <NPopconfirm onPositiveClick={() => handleDelete(row.id!)}>
trigger: () => ( {{
<NButton text type="error" ghost size="small"> default: () => $t('common.confirmDelete'),
{$t('common.delete')} trigger: () => (
</NButton> <NButton text type="error" ghost size="small">
) {$t('common.delete')}
}} </NButton>
</NPopconfirm> )
) : ( }}
'' </NPopconfirm>
)} </>
) : null}
<n-divider vertical /> <n-divider vertical />