Click sul Logo -> Va alla HOME
This commit is contained in:
@@ -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,
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -995,6 +995,10 @@ h3 {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.imglink {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.centeritems {
|
||||
place-content: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user