diff --git a/components/Typ.vue b/components/Typ.vue index 9b50b3a..06f8a06 100644 --- a/components/Typ.vue +++ b/components/Typ.vue @@ -7,13 +7,13 @@ id="ip-g-1" label="Bezeichnung:" label-for="bezeichnung" - description="Name des Zertifikat-Typs:" + description="Bezeichnung des Kleidungs-Typs:" > @@ -107,8 +107,7 @@ onReset(event) { event.preventDefault(); - this.form.name = ''; - this.form.laufzeit = 0; + this.form.bezeichnung = ''; }, onFill(item) { @@ -116,7 +115,6 @@ if(item.length !== 0) { this.form.bezeichnung = item[0].bezeichnung; this.form.id = item[0].id; - this.form.laufzeit = parseInt(item[0].laufzeit); console.log(JSON.stringify(item[0].bezeichnung)); } } diff --git a/nuxt.config.js b/nuxt.config.js index 81ddd4f..200bb9f 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -49,8 +49,8 @@ export default { // Axios module configuration: https://go.nuxtjs.dev/config-axios axios: { // Workaround to avoid enforcing hard-coded localhost:3000: https://github.com/nuxt-community/axios-module/issues/308 - baseURL: '/', - browserBaseURL: '/', + //baseURL: '/', + //browserBaseURL: '/', //proxy: true },