Commit 8c656fad authored by hj's avatar hj

更新提交

parent 43bdbd20
......@@ -16,7 +16,7 @@ trait BasePdfTemplate
{
if(!$this->pdf){
$options = new Options();
$options->setFontDir(app()->basePath('vendor/dompdf/dompdf/lib/fonts'));
$options->setFontDir(app()->basePath('vendor/dompdf/dompdf/font'));
$options->setDefaultFont('微软雅黑');
$options->setIsRemoteEnabled(true);
$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