ElemeFE / ElemeFE/element

[bug report] cascade cascaded lazy loading mode. When resolving, it can only be incremental data, not initialization mode, and the data will be added repeatedly

Open
#19,842 3 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.13.2

### OS/Browsers version
win10/chrome78.0.3904.97

### Vue version
3.0.0-beta.20

### Reproduction Link
https://elementui.github.io/issue-generator

### Steps to reproduce
1、点击测试按钮
2、清理选择的默认数据
3、再次点击测试按钮
重复以上三步,会发现数据在一直叠加,查看了源码,数据是一直在叠加的,

### 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.