- Installazione primo Sito Web del server

- Creazione prima pagina Home
This commit is contained in:
Surya Paolo
2023-12-09 00:19:48 +01:00
parent 7e17869d3e
commit 2b6411eb77
27 changed files with 152 additions and 50 deletions

View File

@@ -17,6 +17,7 @@ import { useQuasar } from 'quasar'
import { useI18n } from '@/boot/i18n'
import { shared_consts } from '@/common/shared_vuejs'
import objectId from '@src/js/objectId'
import { useRouter } from 'vue-router'
export default defineComponent({
name: 'CMyPageElem',
@@ -62,6 +63,7 @@ export default defineComponent({
const { t } = useI18n()
const globalStore = useGlobalStore()
const $router = useRouter()
const editOn = computed({
get (): boolean {
@@ -96,6 +98,10 @@ export default defineComponent({
})
}
if (mypathin.value === 'home_logout' && globalStore.site.name === 'local' && !rec.value) {
$router.replace('/install_site')
}
if (tools.isManager()) {
// console.log('getcookie: ', editOn.value, mypathin.value)
}