Click sul Logo -> Va alla HOME
This commit is contained in:
@@ -516,6 +516,10 @@ export default defineComponent({
|
|||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function toHome() {
|
||||||
|
$router.push('/')
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function changecmd(value: any) {
|
function changecmd(value: any) {
|
||||||
console.log('changecmd', value)
|
console.log('changecmd', value)
|
||||||
@@ -584,6 +588,7 @@ export default defineComponent({
|
|||||||
dark,
|
dark,
|
||||||
iconConn,
|
iconConn,
|
||||||
clIconConn,
|
clIconConn,
|
||||||
|
toHome,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
</q-btn>
|
</q-btn>
|
||||||
|
|
||||||
<q-toolbar-title class="row items-center">
|
<q-toolbar-title class="row items-center">
|
||||||
<q-avatar>
|
<q-avatar @click="toHome" class="imglink">
|
||||||
<img :src="imglogo()" height="27" alt="Immagine Logo" />
|
<img :src="imglogo()" height="27" alt="Immagine Logo" />
|
||||||
</q-avatar>
|
</q-avatar>
|
||||||
<div class="q-mx-sm titlesite">{{ getappname() }}</div>
|
<div class="q-mx-sm titlesite">{{ getappname() }}</div>
|
||||||
|
|||||||
@@ -995,6 +995,10 @@ h3 {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.imglink {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
.centeritems {
|
.centeritems {
|
||||||
place-content: center;
|
place-content: center;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user