Оформлены туллтипы в правом меню

This commit is contained in:
Alex committed 2023-10-11 16:48:05 +03:00
1 parent fbcc174937
commit 40116ccde8
2 files changed
+29 -16

No files matched your search

+4 -8
View File
@@ -8,6 +8,7 @@
<v-btn
v-bind="props"
append-icon="mdi-login"
@click="$emit('toDrawer')"
>
<template v-slot:prepend>
<v-icon color="white"></v-icon>
@@ -106,11 +107,6 @@ export default {
}
const logging=async()=>{
if (!v$.value.$error) {
await accountStore.logging(anon)
}
@@ -118,13 +114,13 @@ export default {
console.log(true);
}
}
onMounted(() => {
v$.value.$validate()
})
defineEmits(['toDrawer'])
return {
accountStore,
AppStore,
+25 -8
View File
@@ -110,9 +110,15 @@
:to="x.path"
color="navigation">
<template v-slot:prepend>
<template v-slot:prepend>
<v-icon :icon="x.ico"/>
</template>
<v-tooltip
v-if="rail"
activator="parent"
location="top">
{{ x.name }}
</v-tooltip>
</template>
</v-list-item>
<v-list-group v-else
@@ -124,6 +130,12 @@
v-bind="props"
:title="x.name"
:prepend-icon="x.ico" />
<v-tooltip
v-if="rail"
activator="parent"
location="top">
{{ x.name }}
</v-tooltip>
</template>
<v-list-item v-for="(child, k) in x.submenu"
@@ -147,6 +159,12 @@
<template v-slot:prepend>
<v-icon
:icon="x.imagecode" />
<v-tooltip
v-if="rail"
activator="parent"
location="top">
{{ x.name }}
</v-tooltip>
</template>
</v-list-item>
</v-list>
@@ -357,7 +375,7 @@
<script>
import { ref, computed } from 'vue'
import { ref, computed, onMounted} from 'vue'
import uf from '@/utils/universal_functions'
import { useAccountStore } from '@/store/AccountStore'
import { useMainmenuStore } from '@/store/MainmenuStore'
@@ -446,18 +464,17 @@ export default {
}
]
const imageSrc = computed(() => {
return new URL(`@/assets/FNS-logo-xs.png`, import.meta.url).href;
})
const getcard = async () => {
menuGetUserDialog.value = true
}
}
// onMounted(() => {
// drawer.value = accountStore.cod2user ? true : false
// })
return {
theme,