java用法:Map<String, Object> data Kotlin 用法:data: MutableMap<String, Any>? 参考官方uts文档,使用: data: MutableList<string,any> 编译报:error: One type argument expected for interface MutableList<E> uts里该怎么写才能通过编译呢? 参考:示例
let aa:string[] = utsArrayOf("1111","22222") console.log(aa) let bb = new Map<string,string>() bb['111'] = '111value' bb['222'] = '222value' console.log(bb)
简约_FE (作者)
换 data: MutableMap<string,any> 通过编译 。
2023-06-28 12:15