PASSAGGIO A VITE !
AGG. 1.1.23
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
import { defineComponent, onMounted, PropType, ref, watch } from 'vue'
|
||||
import type { PropType } from 'vue';
|
||||
import { defineComponent, onMounted, ref, watch } from 'vue'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { useI18n } from '@/boot/i18n'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { fieldsTable } from '@store/Modules/fieldsTable'
|
||||
import { tools } from '@store/Modules/tools'
|
||||
import { tools } from '@tools'
|
||||
import { costanti } from '@costanti'
|
||||
import { CMyFieldDb } from '@/components/CMyFieldDb'
|
||||
import { CMyFieldRec } from '@/components/CMyFieldRec'
|
||||
import { IColGridTable, IOperators, ISpecialField, IUserFields } from 'model'
|
||||
import MixinBase from '@/mixins/mixin-base'
|
||||
import { CMyFieldDb } from '@src/components/CMyFieldDb'
|
||||
import { CMyFieldRec } from '@src/components/CMyFieldRec'
|
||||
import type { IUserFields } from 'model';
|
||||
import { IColGridTable, IOperators, ISpecialField } from 'model'
|
||||
import MixinBase from '@src/mixins/mixin-base'
|
||||
import { useCalendarStore } from '@src/store/CalendarStore'
|
||||
|
||||
|
||||
@@ -39,13 +41,13 @@ export default defineComponent({
|
||||
function UpdateDbNote() {
|
||||
const globalStore = useGlobalStore()
|
||||
const { t } = useI18n()
|
||||
|
||||
|
||||
const mydatatosave = {
|
||||
id: userprofile.value._id,
|
||||
table: 'users',
|
||||
fieldsvalue: { 'profile.note': userprofile.value.profile.note }
|
||||
}
|
||||
|
||||
|
||||
globalStore.saveFieldValue(mydatatosave).then((esito) => {
|
||||
if (esito) {
|
||||
emit('save', userprofile.value)
|
||||
@@ -56,7 +58,7 @@ export default defineComponent({
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
onMounted(mounted)
|
||||
|
||||
Reference in New Issue
Block a user