diff --git a/src/common/map/fujian.js b/src/common/map/fujian.js index c85a63a..c6f2c3f 100644 --- a/src/common/map/fujian.js +++ b/src/common/map/fujian.js @@ -18,9 +18,11 @@ */ (function (root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['exports', 'echarts'], 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 factory(exports, require('echarts'));