mirror of
https://gitee.com/dromara/go-view.git
synced 2026-05-12 00:00:01 +08:00
fix: 修改类型错误的问题
This commit is contained in:
@@ -48,7 +48,7 @@ let content = ref('')
|
||||
|
||||
// 从sessionStorage 获取数据
|
||||
function getDataBySession() {
|
||||
const localStorageInfo: ChartEditStorageType = getSessionStorageInfo() as ChartEditStorageType
|
||||
const localStorageInfo: ChartEditStorageType = getSessionStorageInfo() as unknown as ChartEditStorageType
|
||||
content.value = JSON.stringify(localStorageInfo, undefined, 2)
|
||||
}
|
||||
getDataBySession()
|
||||
|
||||
Reference in New Issue
Block a user