Skip to content

Commit

Permalink
docs: fix some doc errors (#3068)
Browse files Browse the repository at this point in the history
close #3043 close #3024
  • Loading branch information
vthinkxie authored Mar 11, 2019
1 parent f4948d7 commit bc82914
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/table/demo/edit-cell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { NzInputDirective } from 'ng-zorro-antd';
<td>{{data.age}}</td>
<td>{{data.address}}</td>
<td>
<a nz-popconfirm nzTitle="Sure to delete?" (nzOnConfirm)="deleteRow(data.key)">Delete</a>
<a nz-popconfirm nzTitle="Sure to delete?" (nzOnConfirm)="deleteRow(data.id)">Delete</a>
</td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion docs/faq.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ In fact, from the first version of `ng-zorro-antd`, all its code is written in T

### The bundle is too big in size

Please make sure you use `ng build --prod` correctly to compile. If other third-party component kits other than `ng-zorro-antd` are imported, you could generate a sourcemap file using this command `ng build --prod --sourcemaps` to check every dependency's bundled size. You can check [this link](https://angular.io/guide/deployment#inspect-the-bundles) for further instructions.
Please make sure you use `ng build --prod` correctly to compile. If other third-party component kits other than `ng-zorro-antd` are imported, you could generate a sourcemap file using this command `ng build --prod --sourceMap=true` to check every dependency's bundled size. You can check [this link](https://angular.io/guide/deployment#inspect-the-bundles) for further instructions.

###  Browser compatibility

Expand Down
2 changes: 1 addition & 1 deletion docs/faq.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title: 常见问题

### 打包出来的文件太大

首先请确定使用了 `ng build --prod` 正确的方式进行了打包,如果除 `ng-zorro-antd` 之外还引入了其他第三方组件库,你可以通过 `ng build --prod --sourcemaps` 命令生成 sourcemap 文件后,再通过 source-map-explorer 检查每个模块所占用的体积,具体操作可以参考[官方文档](https://angular.io/guide/deployment#inspect-the-bundles)
首先请确定使用了 `ng build --prod` 正确的方式进行了打包,如果除 `ng-zorro-antd` 之外还引入了其他第三方组件库,你可以通过 `ng build --prod --sourceMap=true` 命令生成 sourcemap 文件后,再通过 source-map-explorer 检查每个模块所占用的体积,具体操作可以参考[官方文档](https://angular.io/guide/deployment#inspect-the-bundles)

### 浏览器兼容性问题

Expand Down

0 comments on commit bc82914

Please sign in to comment.