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 {
129
129
return < Icon type = "caret-down" class = { `${ prefixCls } -switcher-icon` } theme = "filled" /> ;
130
130
}
131
131
} ,
132
- updataTreeData ( treeData ) {
132
+ updateTreeData ( treeData ) {
133
133
const { $slots, $scopedSlots } = this ;
134
134
return treeData . map ( item => {
135
135
const {
@@ -159,7 +159,7 @@ export default {
159
159
style,
160
160
} ;
161
161
if ( children ) {
162
- return { ...treeNodeProps , children : this . updataTreeData ( children ) } ;
162
+ return { ...treeNodeProps , children : this . updateTreeData ( children ) } ;
163
163
}
164
164
return treeNodeProps ;
165
165
} ) ;
@@ -171,7 +171,7 @@ export default {
171
171
const checkable = props . checkable ;
172
172
let treeData = props . treeData || treeNodes ;
173
173
if ( treeData ) {
174
- treeData = this . updataTreeData ( treeData ) ;
174
+ treeData = this . updateTreeData ( treeData ) ;
175
175
}
176
176
const vcTreeProps = {
177
177
props : {
You can’t perform that action at this time.
0 commit comments