我对dompdf有个小问题,屏幕上只显示以下代码,而不是生成PDF:%PDF-1.6%����10obj[/PDF/ImageB/ImageC/ImageI/Text]endobj40objstreamx����r��0����}qW��o��$��8!��Z��4%����A6?��i��Rj��i���S�pp�4�o�gU�,H���&\2�Y���Zb�6�$�_v����t���0D�:nw��m���([��0��9��lu8��x��~h��F0��>��t��8��R��!˔T��J��8����W��w#��P.����-D[0R��j~B&����D�Ft����p
我正在使用AngularJS,我正在尝试在php中生成PDF。这就是我的controller.js中的内容:$scope.downloadPDF=function(){$http.post('/download-pdf',{fid:$routeParams.fid}).success(function(data,status,headers,config){console.log("success");}).error(function(data,status,headers,config){console.log("error");});};在我的php文件中,我有以下内容可以使用F
我正在使用AngularJS,我正在尝试在php中生成PDF。这就是我的controller.js中的内容:$scope.downloadPDF=function(){$http.post('/download-pdf',{fid:$routeParams.fid}).success(function(data,status,headers,config){console.log("success");}).error(function(data,status,headers,config){console.log("error");});};在我的php文件中,我有以下内容可以使用F