diff --git a/src/views/post/CategoryList.vue b/src/views/post/CategoryList.vue index 924be81c..f3674ce1 100644 --- a/src/views/post/CategoryList.vue +++ b/src/views/post/CategoryList.vue @@ -176,6 +176,7 @@ export default { async handleEdit(category) { try { const { data } = await apiClient.category.get(category.id) + this.$refs.categoryForm.clearValidate() this.form.model = data this.$refs.nameInput.focus()