mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2025-04-05 19:42:07 +08:00
fix: 修改warning提示
This commit is contained in:
parent
e95c06b009
commit
a6f7843ff9
@ -40,7 +40,7 @@ const popoverSegmentTab = (option: RSegmentOptions) => {
|
|||||||
return (
|
return (
|
||||||
<NPopover>
|
<NPopover>
|
||||||
{{
|
{{
|
||||||
trigger: iconSegmentTab(option),
|
trigger: () => iconSegmentTab(option),
|
||||||
default: () => option.popover,
|
default: () => option.popover,
|
||||||
}}
|
}}
|
||||||
</NPopover>
|
</NPopover>
|
||||||
@ -54,7 +54,7 @@ const popoverSegmentTab = (option: RSegmentOptions) => {
|
|||||||
return (
|
return (
|
||||||
<NPopover {...parameters}>
|
<NPopover {...parameters}>
|
||||||
{{
|
{{
|
||||||
trigger: iconSegmentTab(option),
|
trigger: () => iconSegmentTab(option),
|
||||||
default: () => label,
|
default: () => label,
|
||||||
}}
|
}}
|
||||||
</NPopover>
|
</NPopover>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user