Refactor api functions
This commit is contained in:
parent
1afea69854
commit
87d72be3fa
2 changed files with 49 additions and 90 deletions
|
@ -26,7 +26,7 @@ import UserTable from "@/components/UserTable.vue";
|
|||
@Component({ components: { UserTable, LoginForm } })
|
||||
export default class Home extends Vue {
|
||||
private isConfirmation = false;
|
||||
private user = new User("", "", undefined, undefined);
|
||||
private user = new User();
|
||||
|
||||
private async created() {
|
||||
if (this.$route.name === "Confirm") this.isConfirmation = true;
|
||||
|
|
Reference in a new issue