Skip to content

Commit fa0c40a

Browse files
authored
docs(tree): fix demo's description (#1022)
1 parent ec0bd94 commit fa0c40a

File tree

1 file changed

+2
-2
lines changed
  • examples/sites/demos/pc/app/tree/webdoc

1 file changed

+2
-2
lines changed

examples/sites/demos/pc/app/tree/webdoc/tree.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export default {
190190
通过 <code> check-strictly </code> 属性,指定是否严格模式。属性默认为 <code> false </code>。严格模式时勾选父节点,子节点自动全选中;子节点全选中,自动勾选父节点。<br>
191191
通过 <code> check-on-click-node </code> 属性,点击节点时,同时进行勾选/反勾选节点。 属性默认值为 <code> false </code>, 即点击节点不自动勾选。<br>
192192
通过 <code> default-checked-keys </code> 属性,设置默认加载时,自动勾选的节点的keys数组。<br>
193-
<div class="tip custom-block"> 严格模式下父子不相互影响,勾选父节点时不会自动勾选子节点,适于于某些特殊场景。 </div>
193+
<div class="tip custom-block"> 严格模式下父子不相互影响,勾选父节点时不会自动勾选子节点,适用于某些特殊场景。 </div>
194194
`,
195195
'en-US': `Enable multiple selection by using the <code> show-checkbox </code> property. <br>
196196
The <code> check-strictly </code> property specifies whether strict mode is used. The default property is <code> false </code>. If you select the parent node, all child nodes are automatically selected. If all child nodes are selected, the parent node is automatically selected. <br>
@@ -212,7 +212,7 @@ export default {
212212
<code> setChecked </code> 勾选时,可以深度递归勾选(deep:true),也可以只勾选某节点。<br>
213213
建议使用 <code> setCheckedKeys </code>进行勾选,保证父子联动状态统一,详见下面例子。
214214
</div>
215-
通过 <code> check </code> 事件,监听勾选节点的事件。<br>
215+
通过 <code> check </code> 事件,监听组件的勾选事件。<br>
216216
通过 <code> check-change </code> 事件,监听节点状态变化的回调。<br>
217217
<div class="tip custom-block">
218218
<code> check </code> 事件触发在点击的元素上, 事件参数为:被点击的节点和勾选后组件的整体勾选状态。<br>

0 commit comments

Comments
 (0)