king
2 天以前 047dbd742341e268ca772eda8d2ff0b6ba09cb44
src/api/cacheutils.js
@@ -27,9 +27,9 @@
        if (!window.GLOB.IndexDB.objectStoreNames.contains('caches')) {
          window.GLOB.IndexDB.createObjectStore('caches', { keyPath: 'menuid' })
        }
        if (!window.GLOB.IndexDB.objectStoreNames.contains('funcs')) {
          window.GLOB.IndexDB.createObjectStore('funcs', { keyPath: 'id' })
        }
        // if (!window.GLOB.IndexDB.objectStoreNames.contains('funcs')) {
        //   window.GLOB.IndexDB.createObjectStore('funcs', { keyPath: 'id' })
        // }
      }
    } catch (e) {
      console.warn('IndexedDB 初始化失败!')