From 07c005cf28acf74e3afde82122e4c53e1000d70c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 12 六月 2023 12:06:18 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/api/cacheutils.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/cacheutils.js b/src/api/cacheutils.js index 9556233..265071c 100644 --- a/src/api/cacheutils.js +++ b/src/api/cacheutils.js @@ -7,7 +7,7 @@ */ static openIndexDB (db) { try { - let request = window.indexedDB.open(db, 2) + let request = window.indexedDB.open(db, 3) request.onerror = () => { console.warn('IndexedDB 鍒濆鍖栧け璐ワ紒') } @@ -27,7 +27,7 @@ if (!window.GLOB.IndexDB.objectStoreNames.contains('caches')) { window.GLOB.IndexDB.createObjectStore('caches', { keyPath: 'menuid' }) } - if (window.GLOB.systemType === '' && !window.GLOB.IndexDB.objectStoreNames.contains('funcs')) { + if (!window.GLOB.IndexDB.objectStoreNames.contains('funcs')) { window.GLOB.IndexDB.createObjectStore('funcs', { keyPath: 'id' }) } } -- Gitblit v1.8.0