This commit is contained in:
Administrator
2020-12-09 14:04:30 +08:00
parent 6c9eb7bb80
commit 4b58e04f9e
+2
View File
@@ -18,8 +18,10 @@
*/
(function (root, factory) {
// eslint-disable-next-line
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
// eslint-disable-next-line
define(['exports', 'echarts'], factory);
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS