修改代码
This commit is contained in:
parent
6eb2ca001c
commit
04a0560339
@ -8,7 +8,7 @@ class IndexedDb {
|
||||
this.open(tableList);
|
||||
}
|
||||
|
||||
init(tableList) {
|
||||
open(tableList) {
|
||||
const baseUrl = getBaseUrl();
|
||||
const indexedDBName = baseUrl.replace(/http.?:\/\/(.*)[\/|:].*/, "$1");
|
||||
const request = window.indexedDB.open(indexedDBName, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user