king
2021-11-18 c98e45bfac25e9110ad0383faac54a54d98ea9d5
src/index.js
@@ -85,6 +85,9 @@
      if (config.probation && /^20\d{2}-\d{2}-\d{2}$/.test(config.probation) && new Date(config.probation).getTime() > new Date().getTime()) {
        GLOB.probation = true
      }
    } else if (options.sysType === 'local') {
      GLOB.probation = true
      GLOB.systemType = ''
    } else {
      GLOB.systemType = ''
    }
@@ -153,6 +156,7 @@
        GLOB.style = _systemMsg.style
        GLOB.showline = _systemMsg.showline || ''
        GLOB.navBar = _systemMsg.navBar || ''
        GLOB.appVersion = _systemMsg.app_version || ''
        if (GLOB.favicon) {
          let link = document.querySelector("link[rel*='icon']") || document.createElement('link')