Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我犯的一个拼写错误。与我在问题 $scope.bill 中发布的内容相反,它被初始化为
$scope.bill =空;
所以它抛出了错误。当我正确初始化它时错误消失了 $scope.bill =[];
感谢@jaux 帮助我找到问题