Commit ade82ae3 by zhaochengxiang

热力图bug

parent 33a47964
......@@ -126,7 +126,9 @@ const init = (ctx) => function (container, data, onClick) {
console.log(params);
const { data } = params;
onClick && onClick(data.nodeId);
if (onClick && data && data.nodeId) {
onClick(data.nodeId);
}
});
if (typeof window !== 'undefined') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment