Skip to content

Commit

Permalink
fix(title): incorrect redirect when sublink is clicked.
Browse files Browse the repository at this point in the history
fixed the bug #12841, which was brought by #12380.
  • Loading branch information
plainheart authored Jun 22, 2020
1 parent 8631f27 commit e73aab0
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 e73aab0

Please sign in to comment.