Ancora sistemazioni con typescript....
This commit is contained in:
@@ -50,9 +50,9 @@
|
||||
|
||||
import {mapActions} from 'vuex'
|
||||
import * as types from '../../store/mutation-types'
|
||||
//import {ErroriMongoDb} from '../../store/modules/user'
|
||||
//import {ErroriMongoDb} from '../../store/Modules/user'
|
||||
|
||||
import {serv_constants} from '../../store/modules/serv_constants';
|
||||
import {serv_constants} from '../../store/Modules/serv_constants';
|
||||
|
||||
|
||||
export default {
|
||||
|
||||
@@ -64,8 +64,8 @@
|
||||
import {mapGetters, mapActions} from 'vuex'
|
||||
import * as types from '../../store/mutation-types'
|
||||
|
||||
//import {ErroriMongoDb} from '../../store/modules/user'
|
||||
import {serv_constants} from "../../store/modules/serv_constants";
|
||||
//import {ErroriMongoDb} from '../../store/Modules/user'
|
||||
import {serv_constants} from "../../store/Modules/serv_constants";
|
||||
import axios from 'axios';
|
||||
|
||||
import {Loading, QSpinnerFacebook, QSpinnerGears} from 'quasar'
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import Vue from 'vue'
|
||||
import { Component, Prop, Watch } from 'vue-property-decorator'
|
||||
import { UserModule } from '@/store/modules/user'
|
||||
import { ErroriMongoDb } from '@/store/modules/user'
|
||||
import { User } from '@store'
|
||||
import { ErroriMongoDb } from 'store/Modules/user'
|
||||
|
||||
import { required, email, numeric, maxLength, maxValue, minValue, sameAs, minLength } from 'vuelidate/lib/validators'
|
||||
import { ISignupOptions, IUserState } from '@/model'
|
||||
import { ISignupOptions, IUserState } from 'model'
|
||||
import { validations, TSignup } from './signup-validate'
|
||||
|
||||
import { validationMixin } from 'vuelidate'
|
||||
@@ -162,7 +162,7 @@ export default class Signup extends Vue {
|
||||
this.$q.loading.show({ message: this.$t('reg.incorso') })
|
||||
|
||||
console.log(this.signup)
|
||||
UserModule.signup(this.signup)
|
||||
User.actions.signup(this.signup)
|
||||
.then((riscode) => {
|
||||
this.checkErrors(riscode)
|
||||
this.$q.loading.hide()
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { Component, Vue, Watch } from 'vue-property-decorator';
|
||||
import { UserModule } from '../../store/modules/user';
|
||||
import { UserModule } from '../../store/Modules/user';
|
||||
|
||||
|
||||
@Component({})
|
||||
|
||||
@@ -60,9 +60,9 @@
|
||||
|
||||
import {mapActions} from 'vuex'
|
||||
import * as types from '../../store/mutation-types'
|
||||
//import {ErroriMongoDb} from '../../store/modules/user'
|
||||
//import {ErroriMongoDb} from '../../store/Modules/user'
|
||||
|
||||
import {serv_constants} from '../../store/modules/serv_constants';
|
||||
import {serv_constants} from '../../store/Modules/serv_constants';
|
||||
|
||||
|
||||
export default {
|
||||
|
||||
@@ -32,9 +32,9 @@
|
||||
|
||||
import {mapActions} from 'vuex'
|
||||
import * as types from '../../store/mutation-types'
|
||||
//import {ErroriMongoDb} from '../../store/modules/user'
|
||||
//import {ErroriMongoDb} from '../../store/Modules/user'
|
||||
|
||||
import {serv_constants} from '../../store/modules/serv_constants';
|
||||
import {serv_constants} from '../../store/Modules/serv_constants';
|
||||
|
||||
|
||||
export default {
|
||||
|
||||
Reference in New Issue
Block a user