king
2023-10-06 7576d214d1fb1dea8afe0b307ea40f33c7ad5271
src/tabviews/custom/index.jsx
@@ -238,6 +238,15 @@
      config.$cache = config.cacheLocal === 'true'
      config.$time = config.localCacheTime || 0
      if (window.GLOB.systemType !== 'production' && result.modifydate) {
        let s = (new Date().getTime() - new Date(result.modifydate).getTime()) / (1000 * 60 * 60)
        if (!isNaN(s) && s < 2) {
          config.$cache = false
          config.$time = 0
          config.cacheUseful = 'false'
        }
      }
      let initInters = []
      config.interfaces = this.formatInterSetting(config.interfaces, regs, MenuID, initInters)