Skip to content

Commit

Permalink
Merge pull request #12842 from apache/fix-12841
Browse files Browse the repository at this point in the history
fix(title): incorrect redirect when sublink is clicked.
  • Loading branch information
plainheart authored Jun 22, 2020
2 parents 8631f27 + e73aab0 commit 6f78c0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/component/title.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ echarts.extendComponentView({
}
if (sublink) {
subTextEl.on('click', function () {
windowOpen(link, '_' + titleModel.get('subtarget'));
windowOpen(sublink, '_' + titleModel.get('subtarget'));
});
}

Expand Down Expand Up @@ -233,4 +233,4 @@ echarts.extendComponentView({

group.add(rect);
}
});
});

0 comments on commit 6f78c0d

Please sign in to comment.