Click sul Logo -> Va alla HOME

This commit is contained in:
Surya Paolo
2022-11-30 21:31:32 +01:00
parent f8b9209770
commit 9010c0ff37
3 changed files with 10 additions and 1 deletions

View File

@@ -516,6 +516,10 @@ export default defineComponent({
return null
}
function toHome() {
$router.push('/')
}
function changecmd(value: any) {
console.log('changecmd', value)
@@ -584,6 +588,7 @@ export default defineComponent({
dark,
iconConn,
clIconConn,
toHome,
}
},

View File

@@ -49,7 +49,7 @@
</q-btn>
<q-toolbar-title class="row items-center">
<q-avatar>
<q-avatar @click="toHome" class="imglink">
<img :src="imglogo()" height="27" alt="Immagine Logo" />
</q-avatar>
<div class="q-mx-sm titlesite">{{ getappname() }}</div>

View File

@@ -995,6 +995,10 @@ h3 {
cursor: pointer;
}
.imglink {
cursor: pointer;
}
.centeritems {
place-content: center;
}