Skip to content

Commit

Permalink
doc: update migration
Browse files Browse the repository at this point in the history
  • Loading branch information
xxyan0205 committed Jan 8, 2019
1 parent 87c6102 commit b5cc00b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/docs/migration.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ title: Migration from 1.x
- 🔅 Prop `channels` elements add fields `iconSvg`, `action`, which can be used to use SVG type icons and add special actions for payment channels, such as "replace bank card".
- 🔅 New Prop `pay-button-disabled`, sed to disable the payment button.
- 🔅 Scene `captcha` configuration add `brief `, used to send a brief description of the verification code.
- 🔅 New scoped slot `header`, used to customize head content of all scenes.
- 🔅 New scoped slot `header`、`footer`, used to customize head and foot content of all scenes.

```html
<div slot-scope="{ scene }" slot="header">
Expand Down
2 changes: 1 addition & 1 deletion site/docs/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ title: 从 1.x 迁移
- 🔅 属性`channels`数组元素增加字段`iconSvg`、`action`,可用于使用SVG类型图标和为支付渠道增加特殊操作动作,如“更换银行卡”
- 🔅 新增属性`pay-button-disabled`,用于禁用支付按钮
- 🔅 场景`captcha`配置,新字段`brief `,用于发送验证码简要描述
- 🔅 新增scoped插槽`header`,用于各个场景自定义头部内容
- 🔅 新增scoped插槽`header`、`footer`,用于各个场景自定义头部底部内容

```html
<div slot-scope="{ scene }" slot="header">
Expand Down

0 comments on commit b5cc00b

Please sign in to comment.