如果要初始化一个动态值,应该使用$scope.value=value[0]的方法,即选择列表中的第一个。
$scope.biz_list = $scope.newItem.biz;
$scope.biz = $scope.biz_list[0];
如果要初始化一个动态值,应该使用$scope.value=value[0]的方法,即选择列表中的第一个。
$scope.biz_list = $scope.newItem.biz;
$scope.biz = $scope.biz_list[0];