perf: 增加tooltip

This commit is contained in:
rd
2025-08-13 14:00:07 +08:00
parent e9085c19c2
commit 7c86856b43

View File

@ -101,6 +101,7 @@ export default {
width="480px"
onClose={onClose}
unmount-on-close
auto-label-width
v-slots={{
footer: () => (
<>
@ -126,7 +127,20 @@ export default {
allClear={false}
/>
</FormItem>
<FormItem label="分享对象" prop="receiver" required>
<FormItem
label="分享对象"
prop="receiver"
v-slots={{
label: () => (
<div class="flex items-center">
<span>分享对象</span>
<a-tooltip content="可填写客户名称、昵称等,非必填" position="top">
<icon-question-circle class="tooltip-icon color-#737478 ml-4px" size="14" />
</a-tooltip>
</div>
),
}}
>
<Input v-model={formData.value.receiver} class="!w-240px" size="large" placeholder="请输入分享对象" />
</FormItem>
</Form>