chore: remove sortChildren

This commit is contained in:
chenjiahan
2020-07-05 17:06:37 +08:00
parent 7ed1747de8
commit bad69d9f3f
2 changed files with 0 additions and 38 deletions
-4
View File
@@ -1,5 +1,3 @@
import { sortChildren } from '../utils/vnodes';
export function ChildrenMixin(parent, options = {}) {
const indexKey = options.indexKey || 'index';
@@ -44,8 +42,6 @@ export function ChildrenMixin(parent, options = {}) {
const children = [...this.parent.children, this];
sortChildren(children, this.parent);
this.parent.children = children;
},
},