type B = {type: 'TypeB', attr2: string}
type U = A | B type X= Pick告诉我: { type: 'TypeA' | 'TypeB' } 我想要的是: { type: 'TypeA' } | { type: 'TypeB' } 如何用typescript实现我想要的?
集装箱潜水器移动到一个gis点并拾取RE,我想知道集装箱拾取的RE的数量。我尝试使用时间图来获取数字并将其可视化,代码为agent.contents().size()。但是在我运行model.Do之后时间图没有更新你有什么解决方案吗?enter image description here enter image description here /wYAkZ.png感谢您的帮助!