style: 修改代码格式,修改错误单词

This commit is contained in:
奔跑的面条
2022-11-28 10:54:54 +08:00
parent 9d81159141
commit 2bba1dcae0
4 changed files with 21 additions and 21 deletions
+3 -5
View File
@@ -11,10 +11,8 @@ export interface ChartEditStorageType extends ChartEditStorage {
// 根据路由 id 获取存储数据的信息
export const getSessionStorageInfo = async () => {
const id = fetchRouteParamsLocation()
const storageList: ChartEditStorageType[] = getSessionStorage(
StorageEnum.GO_CHART_STORAGE_LIST
)
const storageList: ChartEditStorageType[] = getSessionStorage(StorageEnum.GO_CHART_STORAGE_LIST)
// 是否本地预览
if (!storageList || storageList.findIndex(e => e.id === id.toString()) === -1) {
// 接口调用
@@ -37,4 +35,4 @@ export const getSessionStorageInfo = async () => {
}
}
}
}
}