使用vue2订购json的正确方法是什么。
我的数据在服务器端正确排序,但vue似乎重新排序。如何禁用vue重新排序或如何设置顺序。
我的数据是一系列消息,我使用v-for渲染它们,但我需要按时间顺序显示msg_date
"full_thread": [
{
"msg_id": "119",
"user_id": "15264",
"admin_id": "14",
"user_read_status": "R",
"admin_read_status": "R",
"msg_date": "2015-01-05 13:33:27",
"message_title": "Item out of stock",
"message_content": "Dear Frank,\n\nWe do apologize but the putter that you've ordered is not available until the 25th March.\n\nWould you like to wait for it or would you prefer a different model?\n\nKind regards\nFabio ",
"order_id": "28964",
"ref_id": "119",
"user_type": "A",
"message_type": "Quote/Order Enquiry"
},
{
"msg_id": "126",
"user_id": "15264",
"admin_id": "0",
"user_read_status": "R",
"admin_read_status": "R",
"msg_date": "2015-01-05 15:37:19",
"message_title": "Item out of stock",
"message_content": "Hi,\n\nIs there no way of getting this club sooner?\n\nBR - Frank",
"order_id": "28964",
"ref_id": "119",
"user_type": "U",
"message_type": "Quote/Order Enquiry"
},
{
"msg_id": "127",
"user_id": "15264",
"admin_id": "14",
"user_read_status": "R",
"admin_read_status": "R",
"msg_date": "2015-01-05 15:41:15",
"message_title": "Item out of stock",
"message_content": "Dear sir,\n\nWe can only get the 33 inch putter at the moment.\n\nKind regards\nFabio",
"order_id": "28964",
"ref_id": "119",
"user_type": "A",
"message_type": "Quote/Order Enquiry"
},