Skip to content

Commit 23c3205

Browse files
committed
chore: release rc22
1 parent 1660461 commit 23c3205

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

docs/zh-cn/advanced.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,14 @@ microApp.start({
6060
```
6161

6262
## 3、inheritBaseBody: 子应用body标签是否采用基座标签,默认不采用
63-
`true`: 采用
64-
`false`: 不采用
63+
```js
64+
import microApp from '@micro-zoe/micro-app'
65+
66+
microApp.start({
67+
inheritBaseBody: true // true: 采用基座标签 作为子应用的标签, false: 不采用
68+
69+
})
70+
```
6571

6672

6773

docs/zh-cn/changelog.md

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
- 修订版本号:每周末会进行日常 bugfix 更新。(如果有紧急的 bugfix,则任何时候都可发布)
88

99
---
10+
11+
### 1.0.0-rc.22
12+
13+
`2025-02-27`
14+
- **Feature**
15+
- start 支持`inheritBaseBody` 参数:子应用是否采用基座,默认不适用。
16+
- 子应用支持addEventListener('error')捕捉自身异常。
1017
### 1.0.0-rc.21
1118

1219
`2025-02-22`

docs/zh-cn/configure.md

+1
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ microApp.start({
234234
'keep-router-state': true, // 子应用在卸载时保留路由状态,默认值false
235235
'disable-patch-request': true, // 关闭子应用请求的自动补全功能,默认值false
236236
iframeSrc: location.origin, // 设置iframe沙箱中iframe的src地址,默认为子应用所在页面地址
237+
inheritBaseBody: true, // true: 采用基座标签 作为子应用的标签, false: 不采用
237238
})
238239
```
239240

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@micro-zoe/micro-app",
3-
"version": "1.0.0-rc.21",
3+
"version": "1.0.0-rc.22",
44
"description": "A lightweight, efficient and powerful micro front-end framework",
55
"private": false,
66
"main": "lib/index.min.js",

0 commit comments

Comments
 (0)