-
-
Notifications
You must be signed in to change notification settings - Fork 167
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
[新功能需求] Swiper 轮播组件是否可支持外部传入是图片类型还是视频,目前如果url没有后缀会识别错误 #712
Labels
feature
新特性
Comments
lianghang1
changed the title
[新功能需求] Swiper 轮播组件是否可支持外部传入是图片类型还是视频
[新功能需求] Swiper 轮播组件是否可支持外部传入是图片类型还是视频,目前如果url没有后缀会识别错误
Nov 14, 2024
可以的,计划支持。
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年11月14日(周四) 下午3:04
收件人: ***@***.***>;
抄送: ***@***.***>;
主题: [Moonofweisheng/wot-design-uni] [新功能需求] Swiper 轮播组件是否可支持外部传入是图片类型还是视频 (Issue #712)
这个功能解决了什么问题?
目前 Swiper 组件是根据 isImageUrl 判断url后缀的,部分url可能是后台接口地址,没有 .jpg 之类的后缀,造成图片识别为视频。
image.png (view on web)
你期望的 API 是什么样子的?
v-if="isImageUrl(isObj(item) ? item[类型属性] : item)"
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这个功能解决了什么问题?
目前 Swiper 组件是根据 isImageUrl 判断url后缀的,部分url可能是后台接口地址,没有 .jpg 之类的后缀,造成图片识别为视频。
你期望的 API 是什么样子的?
v-if="isImageUrl(isObj(item) ? item[类型属性] : item)"
The text was updated successfully, but these errors were encountered: