Skip to content

Commit

Permalink
fix(tree): default-expanded-keys description is wrong (#2667)
Browse files Browse the repository at this point in the history
  • Loading branch information
shenjunjian authored Dec 18, 2024
1 parent cadc7d0 commit cd7afd0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions examples/sites/demos/apis/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,12 @@ export default {
},
{
name: 'default-expanded-keys',
type: 'boolean',
defaultValue: 'false',
type: 'string[]',
defaultValue: '[]',
desc: {
'zh-CN': '默认展开节点的keys',
'en-US': 'The keys of the node are expanded by default'
'zh-CN': '默认展开节点的keys。当属性变化时,会自动收起全部并重新展开指定的数据项。 ',
'en-US':
'The keys of the node are expanded by default.When the property changes, it automatically collapses all and reexpands the specified data item.'
},
mode: ['pc'],
pcDemo: 'expand-control'
Expand Down

0 comments on commit cd7afd0

Please sign in to comment.