标签: javascript node.js firebase vue.js momentjs
我在一个数组中有多个数据点。我想知道如何检索所有这些。我正在使用VueJS。 我的函数看起来像这样
time(){ return moment(this.array.posted_at).format('MMMM Do YYYY, h:mm:ss a') }
P.S。我尝试过使用for和while循环,但是它们仅返回一个值(时间)