@blueking/bkflow-canvas-editor 1.2.0-beta.2 → 1.2.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -56,7 +56,7 @@ npm install @blueking/bkflow-canvas-editor @blueking/flow-canvas
56
56
  mode: 'legacy',
57
57
  fetchUserApi: `${window.BK_COMPONENT_API_URL}/api/c/compapi/v2/usermanage/fs_list_users/`,
58
58
  };
59
- // tenant 模式:使用 @blueking/bk-user-selector(需接入方单独安装该 npm 包)
59
+ // tenant 模式:使用 @blueking/bk-user-selector(peer 依赖 ^0.1.15,由接入方安装)
60
60
  // const memberSelectorConfig = {
61
61
  // mode: 'tenant',
62
62
  // tenantId: 'default',
@@ -1202,7 +1202,7 @@ type MemberSelectorConfig =
1202
1202
  }" />
1203
1203
  ```
1204
1204
 
1205
- > 提示:选择 `tenant` 模式时,接入方需安装可选 peer 依赖 `@blueking/bk-user-selector`。它仅在 tenant 模式下被动态加载,legacy 模式下未安装也不会报错。
1205
+ > 提示:`@blueking/bk-user-selector` 是本包的**必需 peer 依赖**(`^0.1.15`,非 optional),由接入方安装。它仅在 tenant 模式下被动态加载,legacy 模式不会触发加载(加载时机与安装约束相互独立)。
1206
1206
 
1207
1207
  组件内部会自动实现所有 API 方法,包括:
1208
1208