Conditional rendering sidebar with Ant design error

25 views Asked by At

I'm using nuxt 3.7 with nuxt/ant-design-vue 4. Now I have a layout. I want it like this: if mobile, let the left sidebar show up; else, show the header. But there are some errors I don't know what they come from. Please help. Many thanks

This is the template. enter image description here

And this is errors & warning enter image description here

solve my bugs as fast as posible

0

There are 0 answers