react方式,多个用到CRUD组件的页面进行切换时,数据加载错乱
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
#### 描述问题:
多个用到CRUD组件的页面进行切换时,数据加载错乱
#### 截图或视频:
所有页面都仅包含一个CRUD组件,所有CRUD组件均设置初始化加载=true
但是页面切换之后不会重新加载数据,新页面显示的还是上一次加载的数据

#### 如何复现(请务必完整填写下面内容):
1. react方式
2. 1.6.3、1.6.4版本都存在这个问题
3. DEBUG 了 CRUD.componentDidUpdate 方法,发现dataInvalid不会改为true
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in the React setup using multiple pages, each containing one CRUD component with initial loading enabled, on versions 1.6.3 or 1.6.4. Start at CRUD.componentDidUpdate and inspect why dataInvalid does not become true after navigation. Done means switching pages causes each page to load and display its own data consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100