From 6076bca996138cb27bc26e7ff14f136a410f4c2e Mon Sep 17 00:00:00 2001 From: bb_pan Date: Sat, 8 Feb 2025 10:38:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=93=E5=89=8D=E5=85=AC=E5=8F=B8=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E4=B8=8D=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/header.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/layout/header.vue b/src/layout/header.vue index 2fada90..34794ad 100644 --- a/src/layout/header.vue +++ b/src/layout/header.vue @@ -50,9 +50,11 @@ watch(userInfo, (newValue, oldCount) => { activeLoginCompanyName.value = e.companyName } }) + }).catch((err: any) => { + console.log('🚀 ~ getCompanyListApi ~ err:', err) }) } -}) +}, { immediate: true }) // watch(token, (newValue, oldCount) => { // if (newValue) { // getUserListData()