Commit e45853ef authored by hj's avatar hj

更新提交

parent ae6c8799
...@@ -19,8 +19,8 @@ trait BasePdfTemplate ...@@ -19,8 +19,8 @@ trait BasePdfTemplate
$options->setFontDir(app()->basePath('vendor/dompdf/dompdf/lib/fonts')); $options->setFontDir(app()->basePath('vendor/dompdf/dompdf/lib/fonts'));
$options->setDefaultFont('微软雅黑'); $options->setDefaultFont('微软雅黑');
$options->setIsRemoteEnabled(true); $options->setIsRemoteEnabled(true);
$options->setDefaultPaperSize('a4', 'landscape'); //$options->setDefaultPaperSize('a4', 'landscape');
$options->setDpi(350); //$options->setDpi(350);
$this->pdf = new Dompdf($options); $this->pdf = new Dompdf($options);
} }
return $this->pdf; return $this->pdf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment