VisActor / VisActor/VTable

[Bug] deleteLink 这个删除方法不生效

Open
#3,596 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
3.7k
Forks
486
Avg merge
1d 19h
Merged PRs (30d)
16

Description

Version

1.17.2

Link to Minimal Reproduction

deleteLink 这个删除方法怎么不生效,调用完图表对应的依赖线就会移出嘛

Steps to Reproduce

let link = {
type: 'start_to_start',
linkedFromTaskKey: '67',
linkedToTaskKey: '683031899190464512'
}
ganttInstance.value.deleteLink(link)

创建依赖也是这个数据,我简单测试了一下,我这样写的不生效

Current Behavior

1

Expected Behavior

1

Environment
- OS:
- Browser:
- Framework:
Any additional comments?

No response

Contributor guide

Open the contributing guide

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 issue with ganttInstance.value.deleteLink(link) using the provided link object and inspect the deleteLink entry point. Compare it with the dependency-creation data and determine whether the corresponding dependency line is removed; done means the reproduction no longer leaves that line displayed.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.