We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
比如有个
define(function(require) { 'use strict'; var zrUtil = require('zrender/core/util'); var echartsAPIList = [ 'getDom', 'getZr', 'getWidth', 'getHeight', 'dispatchAction', 'on', 'off', 'getDataURL', 'getConnectedDataURL' ]; function ExtensionAPI(chartInstance) { zrUtil.each(echartsAPIList, function (name) { this[name] = zrUtil.bind(chartInstance[name], chartInstance); }, this); } return ExtensionAPI; });
自动变成
'use strict'; var zrUtil = require('zrender/core/util'); var echartsAPIList = [ 'getDom', 'getZr', 'getWidth', 'getHeight', 'dispatchAction', 'on', 'off', 'getDataURL', 'getConnectedDataURL' ]; function ExtensionAPI(chartInstance) { zrUtil.each(echartsAPIList, function (name) { this[name] = zrUtil.bind(chartInstance[name], chartInstance); }, this); } module.exports = ExtensionAPI;
省得从别的地方下载三方后还得自己手动修改代码
The text was updated successfully, but these errors were encountered:
还是 fis3 install zrender 吧, fis-components 里面的都是转换后了的。
Sorry, something went wrong.
没有啥一劳永逸的方法么
No branches or pull requests
比如有个
自动变成
省得从别的地方下载三方后还得自己手动修改代码
The text was updated successfully, but these errors were encountered: