JSON字符串的格式化展现

273 阅读1分钟

let jsondata = JSON.stringify(record.realtimeDataMongo)

   let jdata = JSON.stringify(JSON.parse(jsondata), null, 4);