arkTs中开发问题
报错Assigning the 'REGULAR' decorated attribute 'item' to the '@Prop' decorated attribute 'item' is not allowed. <etsLint>
解决方法一: 非空断言
解决方法二:处理item值的类型
arkTs中开发问题
报错Assigning the 'REGULAR' decorated attribute 'item' to the '@Prop' decorated attribute 'item' is not allowed. <etsLint>
解决方法一: 非空断言
解决方法二:处理item值的类型