Merge branch 'feature/create_app' into razrab

This commit is contained in:
iriska-gri committed 2023-10-13 09:23:35 +03:00
commit 8491195a5e
3 files changed
+27 -18

No files matched your search

+1 -8
View File
@@ -106,11 +106,6 @@ export default {
}
const logging=async()=>{
if (!v$.value.$error) {
await accountStore.logging(anon)
}
@@ -118,9 +113,7 @@ export default {
console.log(true);
}
}
onMounted(() => {
v$.value.$validate()
})
+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>
@@ -261,7 +279,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'
@@ -350,18 +368,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,