mirror of https://github.com/halo-dev/halo-admin
fix: clear the verification result when editing the category directory. (#501)
Co-authored-by: zhenze <ezreeeal@gmail.com>pull/503/head
parent
6a1aeb5143
commit
5b17179c0c
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue