From 014a617eff981b431746a41a44bc086367021c6c Mon Sep 17 00:00:00 2001 From: Xulinchuan <2026734208@qq.com> Date: Tue, 1 Jul 2025 14:18:38 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E5=87=BA=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sub-operation-service/src/assets/images/quit.png | Bin 0 -> 580 bytes sub-operation-service/src/assets/images/quit.svg | 1 + .../src/layouts/component/Header/index.vue | 14 +++++++------- 3 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 sub-operation-service/src/assets/images/quit.png create mode 100644 sub-operation-service/src/assets/images/quit.svg diff --git a/sub-operation-service/src/assets/images/quit.png b/sub-operation-service/src/assets/images/quit.png new file mode 100644 index 0000000000000000000000000000000000000000..2c714588c7ba3ef61603cce927596bf6c4f16e31 GIT binary patch literal 580 zcmV-K0=xZ*P)`~ zf>0E_AV!CF1+^=vOVAaxT|rA?qK>3Ha0lwZ7@dGSs4I{i*zN#VP>25MxeA65s04Vg zlb+<}J)Y=2-p{!}^v6)54#(qhm2yJ4Twd$CzNRDuCX-1IOBYt5eBr=)tyXJBaRjE* z>A-c}E(yfxbZT@u9XoiY`I~_AUZGI1C?{;U+q+`1*vIeJ6-8kmb|e8Ghr?lxP^~CG ztdLq8Yn>uetA-CsrP4P^gh~>C@W*z6MiPLi&X8IM_C>M?j7FoHrfHAddY%rf4j4qzhd+}-0M75dt=wUh1i>2M zDy^V+47AXY@aZ>%xAjHp+$fBXPG3C6&Z SvZtj00000 \ No newline at end of file diff --git a/sub-operation-service/src/layouts/component/Header/index.vue b/sub-operation-service/src/layouts/component/Header/index.vue index 93b4033..189fede 100644 --- a/sub-operation-service/src/layouts/component/Header/index.vue +++ b/sub-operation-service/src/layouts/component/Header/index.vue @@ -24,9 +24,12 @@ 商家中心 个人中心 - -
- 返回首页 + + + + + @@ -75,8 +78,6 @@ import { getAssetsFile } from '@/utils'; import { getGoodNum } from '@/apis/agricultural.js'; import { useMethodsStore } from '@/store/modules/methods'; -const { VITE_APP_PLATFORM } = import.meta.env; - const router = useRouter(); const keyword = ref(''); @@ -142,8 +143,7 @@ function Search() { const toHome = () => { console.info('toHome', router); - // router.push('/sub-operation-service'); - window.location.href = VITE_APP_PLATFORM; + router.push('/'); }; const toUserCenter = () => {