PASSAGGIO A VITE !
AGG. 1.1.23
This commit is contained in:
@@ -2,13 +2,13 @@ import { defineComponent, reactive, ref, watch } from 'vue'
|
||||
|
||||
import { serv_constants } from '@store/Modules/serv_constants'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { useI18n } from '@/boot/i18n'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { useRouter } from 'vue-router'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { validations } from '@src/views/admin/install_site/install_site-validate'
|
||||
import { tools } from '@store/Modules/tools'
|
||||
import { tools } from '@tools'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'install_site',
|
||||
@@ -52,12 +52,12 @@ export default defineComponent({
|
||||
|
||||
$q.loading.show({ message: t('reset.incorso') })
|
||||
|
||||
userStore.addNewSite({...form})
|
||||
userStore.addNewSite({ ...form })
|
||||
.then((ris: any) => {
|
||||
if (ris.code === serv_constants.RIS_CODE_OK) {
|
||||
emailsent.value = true
|
||||
idapp.value = ris.idapp
|
||||
tools.showPositiveNotif($q, t('install.created', {idapp: ris.idapp}))
|
||||
tools.showPositiveNotif($q, t('install.created', { idapp: ris.idapp }))
|
||||
$router.replace('/signin')
|
||||
form.password = ''
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user