console log
This commit is contained in:
parent
33aea5b45a
commit
2fc35d931b
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "12.119.0-calc.9.5",
|
"version": "12.119.0-calc.9-rc.10",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -107,10 +107,11 @@ window.addEventListener('resize', () => {
|
||||||
isMobile.value = deviceKind === 'smartphone' || window.innerWidth <= MOBILE_THRESHOLD;
|
isMobile.value = deviceKind === 'smartphone' || window.innerWidth <= MOBILE_THRESHOLD;
|
||||||
});
|
});
|
||||||
|
|
||||||
let buttonAnimIndex: number;
|
let buttonAnimIndex = 0;
|
||||||
|
|
||||||
watch($$(mainRouter.currentRoute.value.name), () => {
|
watch($$(mainRouter.currentRoute.value.name), () => {
|
||||||
let routerState = mainRouter.currentRoute.value.name;
|
let routerState = mainRouter.currentRoute.value.name;
|
||||||
|
console.log(routerState);
|
||||||
const bottomButtons = ['index', 'notifications', 'messaging'];
|
const bottomButtons = ['index', 'notifications', 'messaging'];
|
||||||
bottomButtons.forEach(i => {
|
bottomButtons.forEach(i => {
|
||||||
if (routerState.includes(i)) {
|
if (routerState.includes(i)) {
|
||||||
|
|
Loading…
Reference in a new issue