AngularJS中如何去掉 ng-repeat的自动排序
1个回答
展开全部
{order_year:"2013", order_date:"3-5", order_number: "A123445678", mileage: 20000, sname: "华盛汽车" },
{order_year:"2013", order_date:"6-5", order_number: "A123445678", mileage: 28000, sname: "华盛汽车" },
{order_year:"2013", order_date:"3-25", order_number: "A123445678", mileage: 16000, sname: "华盛汽车" }
],
"2016": [
{order_year:"2016", order_date:"3-25", order_number: "A123445678", mileage: 14000, sname: "华盛汽车" }
],
"2012": [
{order_year:"2012", order_date:"3-25", order_number: "A123445678", mileage: 14000, sname: "华盛汽车" }
]};
$scope.keys = Object.keys($scope.records);
{order_year:"2013", order_date:"6-5", order_number: "A123445678", mileage: 28000, sname: "华盛汽车" },
{order_year:"2013", order_date:"3-25", order_number: "A123445678", mileage: 16000, sname: "华盛汽车" }
],
"2016": [
{order_year:"2016", order_date:"3-25", order_number: "A123445678", mileage: 14000, sname: "华盛汽车" }
],
"2012": [
{order_year:"2012", order_date:"3-25", order_number: "A123445678", mileage: 14000, sname: "华盛汽车" }
]};
$scope.keys = Object.keys($scope.records);
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询