Skip to content

Commit

Permalink
fix(wxa): not dispose tooltip for wechat app
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Mar 1, 2018
1 parent eb04d43 commit 4280d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/tooltip/TooltipView.js
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ export default echarts.extendComponentView({
},

dispose: function (ecModel, api) {
if (env.node) {
if (env.node || env.wxa) {
return;
}
this._tooltipContent.hide();
Expand Down

0 comments on commit 4280d1d

Please sign in to comment.