diff --git a/src/components/sortable/sortableList/SortableList.vue b/src/components/sortable/sortableList/SortableList.vue index 460e04a7f..18e044df7 100644 --- a/src/components/sortable/sortableList/SortableList.vue +++ b/src/components/sortable/sortableList/SortableList.vue @@ -105,9 +105,10 @@ export default { async onBlur(name, item) { if (this.validateState(name, item) === false) { this.newName = item.name; + } else { + // eslint-disable-next-line no-param-reassign + item.name = name; } - // eslint-disable-next-line no-param-reassign - item.name = name; await this.$nextTick(); setTimeout(() => { this.editRowIndex = null;