Fix: Add missing clearForm func.

This commit is contained in:
Nelson Chan 2023-03-22 15:06:38 +08:00
parent 61506b1af2
commit 4c9d7ac8ca

View File

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