提交 b0689b92 编写于 作者: O Ovilia

fix(wxa): support tooltip in wxa

上级 37b25730
...@@ -74,7 +74,7 @@ export default echarts.extendComponentView({ ...@@ -74,7 +74,7 @@ export default echarts.extendComponentView({
}, },
render: function (tooltipModel, ecModel, api) { render: function (tooltipModel, ecModel, api) {
if (env.node || env.wxa) { if (env.node) {
return; return;
} }
...@@ -730,7 +730,7 @@ export default echarts.extendComponentView({ ...@@ -730,7 +730,7 @@ export default echarts.extendComponentView({
}, },
dispose: function (ecModel, api) { dispose: function (ecModel, api) {
if (env.node || env.wxa) { if (env.node) {
return; return;
} }
this._tooltipContent.hide(); this._tooltipContent.hide();
......
...@@ -57,7 +57,7 @@ under the License. ...@@ -57,7 +57,7 @@ under the License.
backgroundColor: '#eee', backgroundColor: '#eee',
tooltip: { tooltip: {
show: true, show: true,
useHtml: false, renderMode: 'richText',
trigger: 'axis' trigger: 'axis'
}, },
yAxis: { yAxis: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册