提交 523e47ae 编写于 作者: 雪洛's avatar 雪洛

fix: 修复类型错误

上级 731ef9bc
......@@ -308,7 +308,7 @@ export function testUTSJSONObject() : Result {
// #END
// #TEST UTSJSONObject.toMap
person1 = JSON.parseObject('{"name":"Tom"}')!
person1.toMap().forEach((value: any, key: string) => {
person1.toMap().forEach((value: any | null, key: string) => {
console.log(key)
console.log(value)
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册