Commit d5ac334b authored by hj's avatar hj

更新提交

parent 8c656fad
...@@ -16,7 +16,7 @@ trait BasePdfTemplate ...@@ -16,7 +16,7 @@ trait BasePdfTemplate
{ {
if(!$this->pdf){ if(!$this->pdf){
$options = new Options(); $options = new Options();
$options->setFontDir(app()->basePath('vendor/dompdf/dompdf/font')); $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');
......
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