diff --git a/src/mixins/data-list.js b/src/mixins/data-list.js index b6300e5c..59ec08af 100644 --- a/src/mixins/data-list.js +++ b/src/mixins/data-list.js @@ -402,7 +402,11 @@ export default { this.pageObj.pageSize = pageSize } const userId = localStorage.getItem(storageKey.userId) - let localStorageTableTitle = await indexedDBUtils.selectTable(dbTableColumnCustomizeConfigPre + '-' + this.tableId).get({ id: userId }) + let tableName = dbTableColumnCustomizeConfigPre + '-' + this.tableId + let localStorageTableTitle = [] + if(indexedDBUtils.selectTable(tableName)){ + localStorageTableTitle = await indexedDBUtils.selectTable(tableName).get({ id: userId }) + } localStorageTableTitle = localStorageTableTitle && localStorageTableTitle.config ? localStorageTableTitle.config