Merge pull request from chakflying/fix/missing-clear-form

Fix: Add missing clearForm func.
This commit is contained in:
Louis Lam 2023-03-25 14:31:47 +08:00 committed by GitHub
commit b6169408be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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