1. 程式人生 > >.map(function(item)...)這個是按hashcode自動遍歷的,怎麽才能按照我想要的順序遍歷呢?

.map(function(item)...)這個是按hashcode自動遍歷的,怎麽才能按照我想要的順序遍歷呢?

alt data html 自動 data- 順序 每次 func -s

技術分享
技術分享
上圖是我前端的遍歷代碼。我的item上有一個name的字段,分別是營業執照,稅務登記證和經營許可證,我怎麽設置才能讓函數每次遍歷的時候按照這個順序遍歷,而不是item自帶的順序呢?


.map(function(item)...)這個是按hashcode自動遍歷的,怎麽才能按照我想要的順序遍歷呢? >> java

這個答案描述的挺清楚的:
http://www.goodpm.net/postreply/java/1010000008888452/mapfunctionitem這個是按hashcode自動遍歷的怎麽才能按照我想要的順序遍歷呢.html

.map(function(item)...)這個是按hashcode自動遍歷的,怎麽才能按照我想要的順序遍歷呢?