Fix: Add missing clearForm func.

pull/2962/head
Nelson Chan 2 years ago
parent 61506b1af2
commit 4c9d7ac8ca

@ -159,6 +159,16 @@ export default {
} }
}); });
}, },
/** Clear Form inputs */
clearForm() {
this.key = {
name: "",
expires: this.minDate,
active: 1,
};
this.noExpire = false;
},
} }
}; };
</script> </script>

Loading…
Cancel
Save