📅  最后修改于: 2022-03-11 15:02:42.348000             🧑  作者: Mango
angular.forEach($scope.banklist_list, function(value) {
if(value.bank_id == $scope.pay_advance.bank_id){
$scope.bank_name = value.bank_name;
}
});
//$scope.banklist_list =>is array
//$scope.pay_advance.bank_id=> ng-model