@lark-project/js-sdk 2.0.8-dev.5 → 2.0.8-dev.6
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/CHANGELOG.md +1 -0
- package/dist/es/index.js +1 -1
- package/dist/lib/index.js +1 -1
- package/dist/types/index.d.ts +5 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
- 「Add」新增 Button 计划表单元按钮 Context
|
|
4
4
|
- 「Add」新增 Button 视图批量按钮 Context
|
|
5
5
|
- 「Add」新增 ContainerModal 关闭时配置二次确认弹窗
|
|
6
|
+
- 「Add」新增 Navigation.getHostname 获取当前域名
|
|
6
7
|
- 「Deprecated」弃用 Context activeWorkItem
|
|
7
8
|
## 2.0.7 (2025/01/23)
|
|
8
9
|
- 「Add」新增 Control onWorkItemFormValueChanged / getDisplayInfo / openFullScreenPlugin
|
package/dist/es/index.js
CHANGED
package/dist/lib/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1047,12 +1047,13 @@ declare abstract class Navigation extends BaseModel {
|
|
|
1047
1047
|
private static load;
|
|
1048
1048
|
/**
|
|
1049
1049
|
* @public
|
|
1050
|
-
*
|
|
1051
|
-
* 读取当前页面地址的
|
|
1050
|
+
* mobile version ≥ 7.41.0
|
|
1051
|
+
* 读取当前页面地址的 hostname
|
|
1052
1052
|
*/
|
|
1053
|
-
abstract
|
|
1053
|
+
abstract getHostname(): Promise<string>;
|
|
1054
1054
|
/**
|
|
1055
|
-
*
|
|
1055
|
+
* @public
|
|
1056
|
+
* only web 2.0
|
|
1056
1057
|
* 读取当前完整的页面地址
|
|
1057
1058
|
*/
|
|
1058
1059
|
abstract getHref(): Promise<string>;
|