对象变成这样了 user = '{ _id: 556635a41a6928e40c51b78d, name: 'nexus'}'
回复 (3)
D
JSON.parse
N
引用 dingyong666JSON.parse
@dingyong666 ??转成json取值??
D
引用 NexusLee@dingyong666 ??转成json取值??
@NexusLee 别拿json不当对象
参与回复
登录后即可参与回复。登录
对象变成这样了 user = '{ _id: 556635a41a6928e40c51b78d, name: 'nexus'}'
JSON.parse
@dingyong666 ??转成json取值??
@NexusLee 别拿json不当对象