提交 da9ff735 编写于 作者: D deqingli
......@@ -14,7 +14,6 @@ rules:
-
allow:
- "warn"
- "log"
- "error"
no-constant-condition: 0
comma-dangle: 2
......
......@@ -155,7 +155,9 @@ TooltipRichContent.prototype = {
},
hide: function () {
this.el.hide();
if (this.el) {
this.el.hide();
}
this._show = false;
},
......@@ -178,7 +180,11 @@ TooltipRichContent.prototype = {
},
getOuterSize: function () {
return this.getSize();
const size = this.getSize();
return {
width: size[0],
height: size[1]
};
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册