ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

在Nuxts中使用ant-design-vue的Carousel组件在页面刷新的时候会有拉长然后恢复正常的情况

Open 1than opened this issue 1 year ago • 7 comments

  • [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?

以上是最简单的示例代码,我想应该是这个组件默认长度太长,当我自定义了长度之后在拉长之后又恢复到我定义的长度,虽然最终的页面样式是争取的,但是刷新之后拉长这一下太明显且影响体验了,期望得到大佬回复

1than avatar Oct 20 '23 02:10 1than

https://stackblitz.com/edit/github-52q5xr-ve5njf?file=README.md 可以基于这个给一个复现的例子

aibayanyu20 avatar Oct 20 '23 03:10 aibayanyu20

使用 client-only 标签可以解决这种情况

csnan avatar Nov 07 '23 06:11 csnan

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

github-actions[bot] avatar Jan 07 '24 02:01 github-actions[bot]

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

csnan avatar Jan 07 '24 02:01 csnan

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

github-actions[bot] avatar Mar 09 '24 01:03 github-actions[bot]

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

csnan avatar Mar 09 '24 01:03 csnan

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

github-actions[bot] avatar May 09 '24 02:05 github-actions[bot]