iview / iview/iview-admin

Table组件造成CPU满载,内存溢出问题

Open
#526 1 comment 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

columns中如果有fixed属性,且其他column有一个或多个不设置宽度,就会出现
![tim 20180308195653](https://user-images.githubusercontent.com/13674299/37150557-240eae5a-230d-11e8-95db-e10a30bcac47.png)
![tim 20180308195739](https://user-images.githubusercontent.com/13674299/37150558-2440d8da-230d-11e8-887e-56d69675f66e.png)

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

Start by reproducing the Table configuration described in the issue: include a fixed column and leave one or more other columns without widths. Observe the CPU and memory behavior shown in the attached screenshots; done means this combination no longer causes sustained CPU usage or memory exhaustion.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.