Merge pull request #3095 from rxliuli/docs_修复_G6_状态管理最佳实践引用链接错误

docs(site): 修复 G6 状态管理最佳实践引用链接错误
This commit is contained in:
Yanyan Wang 2021-08-09 11:17:19 +08:00 committed by GitHub
commit 88b1e6f993
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ order: 7
Set the item's state.
v3.4 and futher versions support multiple values for a state, refer to [Take Use of State Mechanism](/en/docs/manual/middle/states/state-new).
v3.4 and futher versions support multiple values for a state, refer to [Take Use of State Mechanism](/en/docs/manual/advanced/state-new).
This function will emit events `beforitemstatechange` and `afteritemstatechange`.

View File

@ -5,7 +5,7 @@ order: 7
### graph.setItemState(item, state, value)
设置元素状态。支持单个状态多值的情况,详情参考 [G6 状态管理最佳实践](/zh/docs/manual/middle/states/state-new)。
设置元素状态。支持单个状态多值的情况,详情参考 [G6 状态管理最佳实践](/zh/docs/manual/advanced/state-new)。
该方法在执行过程中会触发 `beforitemstatechange``afteritemstatechange` 事件。