File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ export default {
129129 return < Icon type = "caret-down" class = { `${ prefixCls } -switcher-icon` } theme = "filled" /> ;
130130 }
131131 } ,
132- updataTreeData ( treeData ) {
132+ updateTreeData ( treeData ) {
133133 const { $slots, $scopedSlots } = this ;
134134 return treeData . map ( item => {
135135 const {
@@ -159,7 +159,7 @@ export default {
159159 style,
160160 } ;
161161 if ( children ) {
162- return { ...treeNodeProps , children : this . updataTreeData ( children ) } ;
162+ return { ...treeNodeProps , children : this . updateTreeData ( children ) } ;
163163 }
164164 return treeNodeProps ;
165165 } ) ;
@@ -171,7 +171,7 @@ export default {
171171 const checkable = props . checkable ;
172172 let treeData = props . treeData || treeNodes ;
173173 if ( treeData ) {
174- treeData = this . updataTreeData ( treeData ) ;
174+ treeData = this . updateTreeData ( treeData ) ;
175175 }
176176 const vcTreeProps = {
177177 props : {
You can’t perform that action at this time.
0 commit comments