ElemeFE / ElemeFE/mint-ui

index-list height prop should be string

Open
#1,577 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
16.4k
Forks
3.5k
PR merge metrics
No merged PRs in 30d

Description

`index-list` 组件,这个 `height` 属性应该为 string,因为我外部传入的时候,传值可能为 `auto`
https://github.com/ElemeFE/mint-ui/blob/master/packages/index-list/src/index-list.vue#L85

Contributor guide

No contributing guide indexed for this repository

Research direction

Open packages/index-list/src/index-list.vue at the referenced line and inspect how the index-list height prop is declared. Confirm the prop accepts the string value "auto", update its declared type accordingly, and verify the component still handles the existing height usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.