| | |
| | | GLOB.lineColor = config.lineColor || '' |
| | | GLOB.licenseKey = config.licenseKey || '' |
| | | GLOB.probation = false |
| | | GLOB.watermark = config.watermark !== false |
| | | |
| | | if (config.externalDatabase !== false && config.externalDatabase !== 'false' && config.externalDatabase !== undefined) { |
| | | GLOB.externalDatabase = config.externalDatabase ? `[${config.externalDatabase}]..` : '' |
| | |
| | | systemApi = systemApi.replace(/\/?$/, '/webapi/dostars') |
| | | } |
| | | |
| | | if (systemApi.indexOf('sso.mk9h.cn') > -1 && process.env.NODE_ENV === 'production') { |
| | | if (systemApi.indexOf('sso.mk9h.cn') > -1 && GLOB.watermark) { |
| | | GLOB.dataFormat = true |
| | | } |
| | | |