From 3680e60e77ff69074234eabf3d3be6a09cd457ea Mon Sep 17 00:00:00 2001 From: yin5th <541304803@qq.com> Date: Mon, 7 Nov 2022 18:33:18 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=89=A9=E4=B8=9A?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/article/service_detail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/article/service_detail.html b/view/article/service_detail.html index 1caaf57..aaeb829 100755 --- a/view/article/service_detail.html +++ b/view/article/service_detail.html @@ -17,7 +17,7 @@ $childrenMenu = Category::getChildrenByParentId($topCategoryId); {foreach $images as $img}
- {$img.alt} + {$img.alt ?? ''}
{/foreach} @@ -45,7 +45,7 @@ $childrenMenu = Category::getChildrenByParentId($topCategoryId);
{if !empty($resource)} {foreach $resource as $res} - {$res.alt} + {$res.alt ?? ''} {/foreach} {/if}
From 90b252af431f9012aeda7e683a7e28934cc834c4 Mon Sep 17 00:00:00 2001 From: yin5th <541304803@qq.com> Date: Mon, 7 Nov 2022 18:39:14 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/article/added_detail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/article/added_detail.html b/view/article/added_detail.html index ad7d26a..e18eb6a 100755 --- a/view/article/added_detail.html +++ b/view/article/added_detail.html @@ -17,7 +17,7 @@ $childrenMenu = Category::getChildrenByParentId($topCategoryId); {foreach $images as $img}
- {$img.alt} + {$img.alt ?? ''}
{/foreach} @@ -47,7 +47,7 @@ $childrenMenu = Category::getChildrenByParentId($topCategoryId);
{if !empty($resource)} {foreach $resource as $res} - {$res.alt} + {$res.alt ?? ''} {/foreach} {/if}