Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Apr 13, 2023
1 parent f48f7d3 commit 18585be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/echarts/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,9 @@ class EChartsWidget extends Widget {
// 异步更新
async renderAddon() {
// when upgrading plugin, this maybe unloaded to be undefined.
if (!this.echartsInstance) return;
if (!this.echartsInstance) {
return;
}
this.echartsInstance.showLoading();
try {
if (this.text === undefined) {
Expand Down

0 comments on commit 18585be

Please sign in to comment.