Skip to content

[H5]v-for列表循环文件列表, 渲染<view></view>时, 在view内部通过v-if判断内容为image还是video, 且image和video是通过文件上传的方式更新列表的, 但是上传图片后, 会自动更新到video组件里 #5369

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

Closed
dingyixxx opened this issue Mar 28, 2025 · 2 comments
Assignees

Comments

@dingyixxx
Copy link

dingyixxx commented Mar 28, 2025

发行方式

None

具体平台

H5

开发环境

None

项目创建方式

None

依赖版本

HBuilder4.56

问题描述

Image

重现步骤

Image

期望行为

No response

实际行为

No response

截图或录屏

2025-03-28_15-12-33.mp4

No response

@GRCmade
Copy link
Collaborator

GRCmade commented Mar 31, 2025

看你的问题,这是你代码自己写的有问题,有一个最简单的测试方法,你可以直接写成true和false试一下

一般的问题是,判断条件没有绑定到响应式数据上

@GRCmade GRCmade self-assigned this Mar 31, 2025
@GRCmade
Copy link
Collaborator

GRCmade commented Apr 10, 2025

长时间未回复,关闭 issue,如果还存在这个问题,可以重新打开

@GRCmade GRCmade closed this as completed Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants