ant-design-vue
ant-design-vue copied to clipboard
在Nuxts中使用ant-design-vue的Carousel组件在页面刷新的时候会有拉长然后恢复正常的情况
- [x] I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
Nuxtjs版本:3.8.0 @ant-design-vue/nuxt版本:1.1.2
What does the proposed API look like?
1
2
3
4
以上是最简单的示例代码,我想应该是这个组件默认长度太长,当我自定义了长度之后在拉长之后又恢复到我定义的长度,虽然最终的页面样式是争取的,但是刷新之后拉长这一下太明显且影响体验了,期望得到大佬回复
https://stackblitz.com/edit/github-52q5xr-ve5njf?file=README.md 可以基于这个给一个复现的例子
使用 client-only 标签可以解决这种情况
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days