mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-30 03:00:40 +00:00
Merge pull request #2962 from chakflying/fix/missing-clear-form
Fix: Add missing clearForm func.
This commit is contained in:
commit
b6169408be
1 changed files with 10 additions and 0 deletions
|
@ -159,6 +159,16 @@ export default {
|
|||
}
|
||||
});
|
||||
},
|
||||
|
||||
/** Clear Form inputs */
|
||||
clearForm() {
|
||||
this.key = {
|
||||
name: "",
|
||||
expires: this.minDate,
|
||||
active: 1,
|
||||
};
|
||||
this.noExpire = false;
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue