Skip to content

Commit 1b4bac1

Browse files
authored
update doc (#1281)
* feat: wechat support slot * feat: picker slot support get params * feat: update doc * feat: update doc
1 parent 73b809b commit 1b4bac1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/guide/faq.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ toc: false
77
### 2.x 能否和 1.x, 0.x 一起使用
88

99
因为 1.x 升级到 2.x 没有迁移成本,所以你可以直接从 1.x 升级到 2.x
10-
对于 0.x, 你可以使用 antd-mini-v0 这个 npm 包, 产物内容和 [email protected] 一模一样。
11-
12-
```
13-
$ npm install antd-mini-v0 antd-mini
14-
```
10+
对于 0.x, 你可以使用 npm 别名来安装。
1511

1612
`package.json` 文件中是这样定义的:
1713

1814
```json
1915
{
2016
"dependencies": {
2117
"antd-mini": "^2.25.0",
22-
"antd-mini-v0": "^0.0.26"
18+
"antd-mini-v0": "npm:antd-mini@^0.0.26"
2319
}
2420
}
2521
```
2622

23+
```
24+
$ npm install
25+
```
26+
2727
使用:
2828

2929
```json
@@ -57,4 +57,4 @@ $ npm install antd-mini-v0 antd-mini
5757
- `apply-shared`:这意味着 app.acss 样式和其它设定了 `shared` 的页面或自定义组件样式会影响当前页面,但当前页面 acss 中的样式不会作用于外部。
5858
- `shared`(默认):表示 app.acss 样式和其它设定了 `shared` 的页面或自定义组件样式会影响当前页面,同时当前页面 acss 中的样式也会作用于外部。
5959

60-
官方文档参考链接:[页面样式隔离](https://opendocs.alipay.com/mini/framework/page-acss#%E9%A1%B5%E9%9D%A2%E6%A0%B7%E5%BC%8F%E9%9A%94%E7%A6%BB)
60+
官方文档参考链接:[页面样式隔离](https://opendocs.alipay.com/mini/framework/page-acss#%E9%A1%B5%E9%9D%A2%E6%A0%B7%E5%BC%8F%E9%9A%94%E7%A6%BB)

0 commit comments

Comments
 (0)