我有这段代码,但它产生了很多Ajax请求:
$scope.form = function (type, id) {
params = {'id': id};
if (type == 'isExperience') {
var route = "seeqle_user_profile_experience_form";
}
$http.get(Routing.generate(route, params,true)).success(function (template) {
$scope.openModal(template);
});
}
在我的Chrome开发工具的网络标签中,我看到了这个结果:
谢谢Stack Overflow