我目前有以下角度代码:
@H_403_6@function MyController($scope) { var items = []; $scope.addRow = function () { items.push({ value: 'Hello,world!' }); $scope.items = items; } }
以及以下html片段:
@H_403_6@
我目前有以下角度代码:
@H_403_6@function MyController($scope) { var items = []; $scope.addRow = function () { items.push({ value: 'Hello,world!' }); $scope.items = items; } }
以及以下html片段:
@H_403_6@