<form class="ui form" id="indexForm" name="indexForm" onsubmit="return false;">
<span id="QuacorGradingValue" ng-model="fen" name="fen">6</span>
</form>
在controller里面为啥获取不到
var updateData = {};
alert("$scope.rates==="+$scope.fen);//undefined
//$scope是有值的
으아악
으아아아
컨트롤러:
으아아아http://stackoverflow.com/questions/19981627/setting-scope-property-with-ng-init-doesnt-work
당신의
으아악controller
이 다음과 같다고 가정해보세요: