例如,我有这个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
?
1条答案
按热度按时间68de4m5k1#
如果我理解正确,请看下面的片段: