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 初始化失败!')