typo
This commit is contained in:
parent
bf92109964
commit
33aea5b45a
2 changed files with 9 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "12.119.0-calc.9.4",
|
"version": "12.119.0-calc.9.5",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -107,21 +107,17 @@ window.addEventListener('resize', () => {
|
||||||
isMobile.value = deviceKind === 'smartphone' || window.innerWidth <= MOBILE_THRESHOLD;
|
isMobile.value = deviceKind === 'smartphone' || window.innerWidth <= MOBILE_THRESHOLD;
|
||||||
});
|
});
|
||||||
|
|
||||||
const props = defineProps<{
|
let buttonAnimIndex: number;
|
||||||
buttonAnimIndex: number;
|
|
||||||
}>();
|
|
||||||
|
|
||||||
watch($$(mainRouter.currentRoute.value.name), () => {
|
watch($$(mainRouter.currentRoute.value.name), () => {
|
||||||
let routerState = mainRouter.currentRoute.value.name;
|
let routerState = mainRouter.currentRoute.value.name;
|
||||||
const bottomButtons = ['index', 'notifications', 'messaging'];
|
const bottomButtons = ['index', 'notifications', 'messaging'];
|
||||||
bottomButtons.forEach(i => {
|
bottomButtons.forEach(i => {
|
||||||
if (routerState.includes(i)) {
|
if (routerState.includes(i)) {
|
||||||
props.buttonAnimIndex = bottomButtons.findIndex(e => e.includes(i))
|
buttonAnimIndex = bottomButtons.findIndex(j => j.includes(i));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
});
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
let pageMetadata = $ref<null | ComputedRef<PageMetadata>>();
|
let pageMetadata = $ref<null | ComputedRef<PageMetadata>>();
|
||||||
const widgetsEl = $ref<HTMLElement>();
|
const widgetsEl = $ref<HTMLElement>();
|
||||||
|
|
Loading…
Reference in a new issue