fix: 解决首页注册组件的bug

This commit is contained in:
MTrun
2022-03-07 12:51:50 +08:00
parent e6a99302d6
commit 5b14e3a70f
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -15,6 +15,8 @@ export const getLocalStorageInfo = () => {
StorageEnum.GO_CHART_STORAGE_LIST
)
if(!storageList) return
for (let i = 0; i < storageList.length; i++) {
if (id.toString() === storageList[i]['id']) {
return storageList[i]