tiny-vue icon indicating copy to clipboard operation
tiny-vue copied to clipboard

🐛 [Bug]: in tsx , tabs show warn, Slot "default" invoked outside of the render function

Open nsnans opened this issue 7 months ago • 0 comments

Version

3.24.0

Vue Version

3.5.16

Link to minimal reproduction

Very simple code

      <Tabs
        size='large'
        modelValue={'1'}
      >
        <TabItem title='1' name='1'>
          1
        </TabItem>
        <TabItem title='2' name='2'>
          2
        </TabItem>
        <TabItem title='3' name='3'>
          3
        </TabItem>
      </Tabs>

Step to reproduce

Effect

Image

Switch and view the console

Image

What is expected

no warn

What is actually happening

has warn

What is your project name

chrome extension

Any additional comments (optional)

I have tried use v--slots to add default. But the result will still be this "warn"

nsnans avatar Jun 13 '25 03:06 nsnans