mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2025-04-05 19:42:07 +08:00
Update Segment.tsx
修复segment内容没有正常显示的问题
This commit is contained in:
parent
4bfdbccd88
commit
bd3f94af40
@ -1,6 +1,6 @@
|
||||
import './index.scss'
|
||||
|
||||
import { NTabs, NTab, NPopover, NFlex } from 'naive-ui'
|
||||
import { NTabs, NTabPane, NPopover, NFlex } from 'naive-ui'
|
||||
|
||||
import props from './props'
|
||||
import { themeOverrides } from './constant'
|
||||
@ -103,7 +103,7 @@ export default defineComponent({
|
||||
>
|
||||
{options.map((curr) => {
|
||||
return (
|
||||
<NTab
|
||||
<NTabPane
|
||||
key={curr.key}
|
||||
name={curr.key}
|
||||
tab={
|
||||
@ -114,7 +114,7 @@ export default defineComponent({
|
||||
{{
|
||||
...curr.slots,
|
||||
}}
|
||||
</NTab>
|
||||
</NTabPane>
|
||||
)
|
||||
})}
|
||||
</NTabs>
|
||||
|
Loading…
x
Reference in New Issue
Block a user