问题如图 有谁知道为什么吗?
我的代码这样写的:
ChatMessage = (item) => { const { navigate } = this.props.navigation; item['chattype'] = 'Friends' navigate('ChatMessage', item); }
Unhandled JS Exception: TypeError: One of the sources for assign has an enumerable key on the prototype chain. Are you trying to assign a prototype property? We don't allow it, as this is an edge case that we do not support. This error is a performance optimization and not spec compliant.
幕布斯6054654
相关分类