From e6969318e940a653b5b37b7118cdfd83aad99471 Mon Sep 17 00:00:00 2001 From: Sjh <55341701@qq.com> Date: Fri, 13 Sep 2024 15:29:39 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E7=BB=BC=E5=90=88=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E9=A1=B6=E9=83=A8=E8=8F=9C=E5=8D=95=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/pages/home/home.component.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/pages/home/home.component.ts b/src/app/pages/home/home.component.ts index b6870ec..866459c 100644 --- a/src/app/pages/home/home.component.ts +++ b/src/app/pages/home/home.component.ts @@ -132,6 +132,11 @@ export class HomeComponent implements OnInit { { name: "证照管理", url: "/audit" }, ]; } + //油站人员进入油站 + if (this.router.url.indexOf("comprehensive") != -1) { + //控制返回按钮显示 + this.isComprehensive = true; + } this.isProd = this.patternService.isProd; this.initSelectedItem(this.router); @@ -202,11 +207,6 @@ export class HomeComponent implements OnInit { this.isGasStationNav = true; this.isGasStationBack = false; } - //油站人员进入油站 - if (event.url.indexOf("comprehensive") != -1) { - //控制返回按钮显示 - this.isComprehensive = true; - } }); setInterval(() => {