From 0c47803a905c136f73ab9a336756a30aaadc95a6 Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Tue, 31 Jan 2023 16:08:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/LatestProducts/Bootstrap.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/LatestProducts/Bootstrap.php b/plugins/LatestProducts/Bootstrap.php index 8420be57..6b17d3a0 100644 --- a/plugins/LatestProducts/Bootstrap.php +++ b/plugins/LatestProducts/Bootstrap.php @@ -13,12 +13,15 @@ namespace Plugin\LatestProducts; class Bootstrap { + /** + * 去除注释后可以观察网站头部以及产品详情页页面变化 + */ public function boot() { $this->addLatestProducts(); - $this->modifyHeader(); - $this->modifyProductDetail(); + // $this->modifyHeader(); + // $this->modifyProductDetail(); } /** @@ -38,7 +41,6 @@ class Bootstrap /** * 修改前台全局 header 模板 - * 打开后可以查看页面头部变化 */ private function modifyHeader() {