feat:【ANTD】优化 help 样式

This commit is contained in:
YunaiV
2025-07-05 18:16:41 +08:00
parent 23639676bc
commit d0a76e1394
3 changed files with 8 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ const [Modal, modalApi] = useVbenModal({
});
// TODO xingyu 暴露 modalApi 给父组件是否合适? trigger-node-config.vue 会有多个 conditionDialog 实例
// 不用暴露啊,用 useVbenModal 就可以了
// TODO @jason回复 from xingyu不用暴露啊,用 useVbenModal 就可以了
defineExpose({ modalApi });
</script>
<template>

View File

@@ -86,18 +86,20 @@ const [Modal, modalApi] = useVbenModal({
</VbenButton>
</VbenButtonGroup>
</div>
<div class="mt-2 flex justify-start">
<p class="w-24 p-2">软件外包:</p>
<img
src="/wx-xingyu.png"
alt="数舵科技"
class="cursor-pointer"
width="80%"
@click="openWindow('https://shuduokeji.com')"
/>
</div>
<p class="mt-2 flex justify-center pt-4 text-sm italic">
本项目采用 <Badge class="mx-2" variant="destructive">MIT</Badge>
开源协议个人与企业可100% 免费使用
开源协议个人与企业可100% 免费使用
</p>
</div>
</Modal>

View File

@@ -56,8 +56,10 @@ async function handleChange(id: number | undefined) {
class="hover:bg-accent ml-1 mr-2 h-8 w-32 cursor-pointer rounded-full p-1.5"
>
<IconifyIcon icon="lucide:align-justify" class="mr-4" />
{{ $t('page.tenant.placeholder') }}
<!-- {{ tenants.find((item) => item.id === visitTenantId)?.name }} -->
{{
tenants.find((item) => item.id === visitTenantId)?.name ||
$t('page.tenant.placeholder')
}}
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent class="w-40 p-0 pb-1">