Skip to content

Commit 214c67d

Browse files
FrontEndDoghonlyHuang
authored andcommitted
fix: 升级指令错误
1 parent f7e6aac commit 214c67d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/mini-split-chunks-plugin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ title: 智能提取分包依赖
6262

6363
```shell title="升级版本"
6464
# 使用Taro 升级命令更新CLI版本到最新版本
65-
$ taro update self [版本号]
65+
$ taro update self
6666
# 使用Taro 升级命令更新CLI版本到指定版本
67-
$ taro update self
67+
$ taro update self [版本号]
6868
# 使用Taro 升级命令将项目依赖升级到与@tarojs/cli一致的版本
6969
$ taro update project
7070
# 使用Taro 升级命令将项目依赖升级到指定版本

versioned_docs/version-3.x/mini-split-chunks-plugin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ title: 智能提取分包依赖
6262

6363
```shell title="升级版本"
6464
# 使用Taro 升级命令更新CLI版本到最新版本
65-
$ taro update self [版本号]
65+
$ taro update self
6666
# 使用Taro 升级命令更新CLI版本到指定版本
67-
$ taro update self
67+
$ taro update self [版本号]
6868
# 使用Taro 升级命令将项目依赖升级到与@tarojs/cli一致的版本
6969
$ taro update project
7070
# 使用Taro 升级命令将项目依赖升级到指定版本

0 commit comments

Comments
 (0)