From 2fc35d931b2f1dcca3cc13c3cda5dbeca87ad5da Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sun, 6 Nov 2022 23:57:58 -0800 Subject: [PATCH] console log --- package.json | 2 +- packages/client/src/ui/universal.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5753b78f2..838e6110c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.119.0-calc.9.5", + "version": "12.119.0-calc.9-rc.10", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/ui/universal.vue b/packages/client/src/ui/universal.vue index d9fcb5dda..1d26192bb 100644 --- a/packages/client/src/ui/universal.vue +++ b/packages/client/src/ui/universal.vue @@ -107,10 +107,11 @@ window.addEventListener('resize', () => { isMobile.value = deviceKind === 'smartphone' || window.innerWidth <= MOBILE_THRESHOLD; }); -let buttonAnimIndex: number; +let buttonAnimIndex = 0; watch($$(mainRouter.currentRoute.value.name), () => { let routerState = mainRouter.currentRoute.value.name; + console.log(routerState); const bottomButtons = ['index', 'notifications', 'messaging']; bottomButtons.forEach(i => { if (routerState.includes(i)) {