父節點
當前提交
e5f4d9aafb
共有 1 個文件被更改,包括 1 次插入 和 0 次删除
  1. 1
    0
      app/Models/Project.php

+ 1
- 0
app/Models/Project.php 查看文件

80
 
80
 
81
     public function firstListImgUrl(): Attribute
81
     public function firstListImgUrl(): Attribute
82
     {
82
     {
83
+        \Log::info(empty($this->img_url),$this->img_url);
83
         return Attribute::make(
84
         return Attribute::make(
84
             get: fn ($value) => !empty($this->img_url) ? Storage::url($this->img_url[0]) : null,
85
             get: fn ($value) => !empty($this->img_url) ? Storage::url($this->img_url[0]) : null,
85
         );
86
         );