[GitHub] miniboxhaha commented on issue #8330: tooltip中关于formatter生成链接的问题
miniboxhaha commented on issue #8330: tooltip中关于formatter生成链接的问题 URL: https://github.com/apache/incubator-echarts/issues/8330#issuecomment-388599075 确实可以了,但是haha(args)不能接收参数。 ```javascript formatter: function(prams) { //*问题描述** let arg = 10 return "haha"//提示arg没有定义 return "haha"//可以接收到 //*问题描述** } ``` 又试了下改成这样可以了 ```javascript formatter: function(prams) { //*问题描述** let arg = 10 return "haha" //*问题描述** } ``` 非常感谢。是否可以简单的理解为formatter返回的DOM和当前页面中的DOM不属于同一个document对象? This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] miniboxhaha commented on issue #8330: tooltip中关于formatter生成链接的问题
miniboxhaha commented on issue #8330: tooltip中关于formatter生成链接的问题 URL: https://github.com/apache/incubator-echarts/issues/8330#issuecomment-388599075 确实可以了,但是haha(args)不能接收参数。 ```javascript formatter: function(prams) { //*问题描述** let arg = 10 return "haha"//提示arg没有定义 return "haha"//可以接收到 //*问题描述** } ``` 又试了下改成这样可以了 ```javascript formatter: function(prams) { //*问题描述** let arg = 10 return "haha"//提示arg没有定义 return "haha"//可以接收到 //*问题描述** } ``` This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] miniboxhaha commented on issue #8330: tooltip中关于formatter生成链接的问题
miniboxhaha commented on issue #8330: tooltip中关于formatter生成链接的问题 URL: https://github.com/apache/incubator-echarts/issues/8330#issuecomment-388599075 确实可以了,但是haha(args)不能接收参数。 ```javascript formatter: function(prams) { //*问题描述** let arg = 10 return "haha"//提示arg没有定义 return "haha"//可以接收到 //*问题描述** } ``` 又试了下改成这样可以了 ```javascript formatter: function(prams) { //*问题描述** let arg = 10 return "haha"//提示arg没有定义 return "haha"//可以接收到 //*问题描述** } ``` This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] miniboxhaha commented on issue #8330: tooltip中关于formatter生成链接的问题
miniboxhaha commented on issue #8330: tooltip中关于formatter生成链接的问题 URL: https://github.com/apache/incubator-echarts/issues/8330#issuecomment-388599075 确实可以了,但是haha(args)不能接收参数。 ```javascript formatter: function(prams) { //*问题描述** let arg = 10 return "haha"//提示arg没有定义 return "haha"//可以接收到 //*问题描述** } ``` This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org