ElemeFE / ElemeFE/mint-ui

[Bug Report] IndexList 索引排序与内容排序不一致

Open
#936 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

### Mint UI version
2.2.7

### OS/Browsers version
macOs10.12.5

### Vue version
2.3.3

### Reproduction Link
[https://jsfiddle.net/pj71jkyw/336/](https://jsfiddle.net/pj71jkyw/336/)

### Steps to reproduce
首先设置IndexList的初始值,然后让IndexList根据ABCD字母顺序来渲染列表,渲染完毕之后,插入一条数据,然后重新渲染之后,索引未排序,而内容是排序的。

### What is Expected?
索引的排序和内容排序一致

### What is actually happening?
索引排序和内容排序不一致

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.