<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <!-- 全局配置 -->
    <script>
      window._CONFIG = {};
      window._CONFIG['domianURL'] = '/jshERP-boot';
      let sysTitle;
      let ajax = new XMLHttpRequest();
      let url = window._CONFIG['domianURL'] + '/platformConfig/getPlatformName'
      ajax.onreadystatechange = function () {
        if (ajax.readyState===4 &&ajax.status===200) {
          sysTitle = ajax.responseText;
        }
      }
      ajax.open('get', url, false);
      ajax.send(null);
      window.SYS_TITLE = sysTitle;
      document.title = window.SYS_TITLE;
      window._CONFIG['casPrefixUrl'] = 'http://cas.example.org:8443/cas';
      window._CONFIG['onlinePreviewDomainURL'] = 'http://fileview.jeecg.com/onlinePreview'
      window._CONFIG['staticDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/static';
      window._CONFIG['pdfDomainURL'] =  window._CONFIG['domianURL'] + '/sys/common/pdf/pdfPreviewIframe';
    </script>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but vue-cli3 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
