Skip to content

Commit cd7afd0

Browse files
authored
fix(tree): default-expanded-keys description is wrong (#2667)
1 parent cadc7d0 commit cd7afd0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

examples/sites/demos/apis/tree.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,12 @@ export default {
132132
},
133133
{
134134
name: 'default-expanded-keys',
135-
type: 'boolean',
136-
defaultValue: 'false',
135+
type: 'string[]',
136+
defaultValue: '[]',
137137
desc: {
138-
'zh-CN': '默认展开节点的keys',
139-
'en-US': 'The keys of the node are expanded by default'
138+
'zh-CN': '默认展开节点的keys。当属性变化时,会自动收起全部并重新展开指定的数据项。 ',
139+
'en-US':
140+
'The keys of the node are expanded by default.When the property changes, it automatically collapses all and reexpands the specified data item.'
140141
},
141142
mode: ['pc'],
142143
pcDemo: 'expand-control'

0 commit comments

Comments
 (0)