例如,我有这个objects of array
:
const data = [
{ name: 'John', age: 25, 'body' : "this data has link https://stackoverflow.com/questions/ask" },
{ name: 'Jane', age: 31, 'body' : "this data has link https://stackoverflow.com/questions/ask" },
{ name: 'Bob', age: 18, 'body' : "this data has link https://stackoverflow.com/questions/ask" }
];
在frontend
里展示的话怎么才能变成link
呢?