jqh 4 年之前
父節點
當前提交
b788dcb1b5
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Widgets/Lazy.php

+ 1 - 0
src/Widgets/Lazy.php

@@ -16,6 +16,7 @@ class Lazy extends Widget
     public function __construct(LazyRenderable $renderable = null, bool $load = true)
     {
         $this->setRenderable($renderable);
+        $this->load($load);
 
         $this->class('lazy-box');
         $this->id('lazy-'.Str::random(8));