element-ui - Element UI数据的渲染。
本文介绍了element-ui - Element UI数据的渲染。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
数据出现了数组对象。
如何在prop处理?
解决方案
Element UI支持数据嵌套。
{
"Start": {
"CashboxId": 43,
"Time": "2017-03-10T09:45:09.785",
"PointType": 1,
"EventType": 9,
"Msg": "钱箱0121入车银行错误,来自银行南京市仙林工商银行",
"VehicleId": 47,
"PlateNumber": "甘D P9632",
"LONG": 118.914808751,
"LAT": 32.1277135154,
"Hash": "0a4f60c2-5317-4d34-902b-38e5da871d5a"
},
"End": {
"CashboxId": 43,
"Time": "2017-03-10T09:45:12.16",
"PointType": 0,
"EventType": 9,
"Msg": "钱箱0121入车银行错误,来自银行南京市仙林工商银行",
"VehicleId": 47,
"PlateNumber": "甘D P9632",
"LONG": 118.914808751,
"LAT": 32.1277135154,
"Hash": "0a4f60c2-5317-4d34-902b-38e5da871d5a"
},
"Transits": [
{
"Time": "2017-03-10T09:45:11",
"LAT": 32.1277135154,
"LONG": 118.914808751
}
],
"Warn": true
}
这篇关于element-ui - Element UI数据的渲染。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文