perf: 增加tooltip
This commit is contained in:
@ -101,6 +101,7 @@ export default {
|
|||||||
width="480px"
|
width="480px"
|
||||||
onClose={onClose}
|
onClose={onClose}
|
||||||
unmount-on-close
|
unmount-on-close
|
||||||
|
auto-label-width
|
||||||
v-slots={{
|
v-slots={{
|
||||||
footer: () => (
|
footer: () => (
|
||||||
<>
|
<>
|
||||||
@ -126,7 +127,20 @@ export default {
|
|||||||
allClear={false}
|
allClear={false}
|
||||||
/>
|
/>
|
||||||
</FormItem>
|
</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="请输入分享对象" />
|
<Input v-model={formData.value.receiver} class="!w-240px" size="large" placeholder="请输入分享对象" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</Form>
|
</Form>
|
||||||
|
|||||||
Reference in New Issue
Block a user