因此,您可以監聽 ngInit 值,並在設定她時讀取資料。您可以使用 $watch 方法: 控制器 (function(){ function Controller($scope) { //Watch you ngInit value $scope ...
確定! 回上一頁