fix: clear the verification result when editing the category directory. (#501)

Co-authored-by: zhenze <ezreeeal@gmail.com>
pull/503/head
Yorksh1re 3 years ago committed by GitHub
parent 6a1aeb5143
commit 5b17179c0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -176,6 +176,7 @@ export default {
async handleEdit(category) { async handleEdit(category) {
try { try {
const { data } = await apiClient.category.get(category.id) const { data } = await apiClient.category.get(category.id)
this.$refs.categoryForm.clearValidate()
this.form.model = data this.form.model = data
this.$refs.nameInput.focus() this.$refs.nameInput.focus()

Loading…
Cancel
Save