fix: 修改类型报错

This commit is contained in:
MTrun
2022-03-07 15:21:45 +08:00
parent 5b14e3a70f
commit f8785a4505
13 changed files with 43 additions and 27 deletions
+1
View File
@@ -6,6 +6,7 @@ export interface ChartEditStorageType extends ChartEditStorage {
id: string
}
// 根据路由 id 获取存储数据的信息
export const getLocalStorageInfo = () => {
const urlHash = document.location.hash
const toPathArray = urlHash.split('/')