Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug 上报] 1.4.0Swiper 轮播 #735

Closed
Rem-Blove opened this issue Nov 25, 2024 · 3 comments
Closed

[Bug 上报] 1.4.0Swiper 轮播 #735

Rem-Blove opened this issue Nov 25, 2024 · 3 comments
Labels
🐞bug: need confirm 待确认的bug

Comments

@Rem-Blove
Copy link

Rem-Blove commented Nov 25, 2024

Wot Design Uni 版本号

1.4.0

平台

微信小程序

复现Demo地址(如不提供,将被直接关闭)

重现步骤

image
image

期望的结果是什么?

尽快修复!!!

实际的结果是什么?

在1.13.14图片可以正常显示,在1.4.0无法显示图片

环境信息

系统版本:win11
uniapp: 4.33.2024111702-alpha

其他补充信息

No response

@Rem-Blove Rem-Blove added the 🐞bug: need confirm 待确认的bug label Nov 25, 2024
@Moonofweisheng
Copy link
Owner

Moonofweisheng commented Nov 25, 2024

复现数据提供一下,截图里面的list,给个json。

@Rem-Blove
Copy link
Author

复现数据提供一下,截图里面的list,给个json。

[
{
"createBy": null,
"createTime": "2024-11-19 10:07:31",
"id": 7,
"isDisplay": "1",
"relevantId": 3,
"relevantName": "数学为什么这么难",
"remark": null,
"remarks": null,
"slideshowUrl": "https://img.pub/p/199ae31dcabee7e05cd2.jpg",
"type": "1",
"updateBy": null,
"updateTime": "2024-11-19 10:07:30"
}
]

@Moonofweisheng
Copy link
Owner

Moonofweisheng commented Nov 25, 2024

1.4.0支持了通过type指定文件类型,而你的数据中"type": "1",会导致组件内部对文件类型的判断存在问题,你可以调整一下绑定数据,将type移除,如果type对于你来说是有意义的话,可以将type转到其他字段存储例如bannerType。

swiperList = computed(()=>{return[
{
"createBy": null,
"createTime": "2024-11-19 10:07:31",
"id": 7,
"isDisplay": "1",
"relevantId": 3,
"relevantName": "数学为什么这么难",
"remark": null,
"remarks": null,
"slideshowUrl": "https://img.pub/p/199ae31dcabee7e05cd2.jpg",
"updateBy": null,
"updateTime": "2024-11-19 10:07:30"
}
]})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞bug: need confirm 待确认的bug
Projects
None yet
Development

No branches or pull requests

2 participants