iview / iview/iview-admin

Modal和Carousel结合使用,图片不显示

Open
#677 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vue
Stars
16.3k
Forks
4.7k
PR merge metrics
No merged PRs in 30d

Description

场景:我有一个列表,每一行都有一个查看图片按钮,点了就弹出一个框,里面是图片轮播。
实现:把Carousel放到Modal里面,Carousel是请求的数据,每个列表都不一样(如果图片是死数据,轮播是撑开的,没问题)
问题:这时图片不显示

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by reproducing a Modal containing a Carousel whose images arrive from request data, comparing it with the stated working static-data case. Done means the asynchronously loaded images render correctly for each list item inside the Modal.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.