var app = angular.module('app', []);app.controller('Ctrl', function($scope, $http) { $("#cc").click(function() { $scope.sdata2 = { name: $(".aa").html(), pwd: $(".bb").html() }; $http({ url: "../download.json", mettod: 'get', data: $scope.sdata2, dataType: 'json', }).then(function(data) { $scope.txt = data.data.data; }) })})沒(méi)有報(bào)錯(cuò)后面沒(méi)有參數(shù) 是我寫錯(cuò)了嗎?
angualr怎么后臺(tái)傳入不了參數(shù)啊
繁星點(diǎn)點(diǎn)滴滴
2018-12-19 18:13:08