Skip to content

Commit

Permalink
feat(module:input-number): fix demos
Browse files Browse the repository at this point in the history
  • Loading branch information
simplejason committed Jun 2, 2022
1 parent e47a5c2 commit c513424
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion components/input-number/demo/addon.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
order: 6
order: 7
title:
zh-CN: 前置/后置标签
en-US: Pre / Post tab
Expand Down
3 changes: 0 additions & 3 deletions components/input-number/demo/addon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ import { Component } from '@angular/core';
<nz-input-number-group *nzSpaceItem nzAddOnAfterIcon="setting">
<nz-input-number [(ngModel)]="demoValue" [nzStep]="1"></nz-input-number>
</nz-input-number-group>
<nz-input-number-group *nzSpaceItem nzAddOnAfterIcon="setting">
<nz-input-number [(ngModel)]="demoValue" [nzStep]="1"></nz-input-number>
</nz-input-number-group>
<nz-input-number-group *nzSpaceItem [nzAddOnBefore]="addOnBeforeCascaderTemplate">
<nz-input-number [(ngModel)]="demoValue" [nzStep]="1"></nz-input-number>
</nz-input-number-group>
Expand Down
4 changes: 2 additions & 2 deletions components/input-number/demo/group.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
order: 8
order: 9
title:
zh-CN: 输入框组合
en-US: Input Number Group
---

## zh-CN

输入框的组合展现
数字输入框的组合展现

注意:使用 `nzCompact` 模式时,不需要通过 `nz-col` 来控制宽度。

Expand Down
4 changes: 2 additions & 2 deletions components/input-number/demo/prefix.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
order: 7
order: 8
title:
zh-CN: 前缀
en-US: Prefix
---

## zh-CN

在输入框上添加前缀图标
在数字输入框上添加前缀图标

## en-US

Expand Down

0 comments on commit c513424

Please sign in to comment.