NullReferenceException: Object reference not set to an instance of an object 小琴美 2024-04-16 126 阅读1分钟 BUG NullReferenceException: Object reference not set to an instance of an object 未将对象引用设置到对象的实例。 总结 由于代码不严谨造成,要考虑到为null的情况