CommonHttpService.post(url,image).then(function(data){
if(data.success){
ToastrService.success(data.MSG, $i18next("success"));
image_table.reload();
image_id = data.data.image_id;
upload_file(image_id) //其中使用form.submit()提交表单,但发送请求没有数据!
image_created = true;
} else {
$scope.is_submitting = false;
ToastrService.error(data.MSG, $i18next("op_failed"));
}
}
);
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
认证高级PHP讲师