angular ng-zorro
hua77f
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
can't bind to 'ngModel' since it isn't a known property of 'input'. ("
模块中,添加 import { FormsModule } from '@angular/forms';转载 2019-11-26 12:21:49 · 427 阅读 · 0 评论 -
ng-zorro 提示控件不可用
'nz-table' is not a known element: 1. If 'nz-table' is an Angular component, then verify that it is part of this module. 类似的,要在自己建的子模块里加入 NgZorroAntdModule 像这样 ...原创 2019-11-26 12:07:23 · 5389 阅读 · 3 评论 -
ng-zorro table sort注意
sort 时 数据必须要先筛选 this.eData.filter((item:any)=>item!==null) 不然不成功原创 2019-11-22 17:20:57 · 945 阅读 · 1 评论 -
angular导出Excel
使用'@delon/abc 命令: yarn add file-saver yarn add @delon/abc 导出代码 import { Component } from '@angular/core'; import { STColumn, XlsxService } from '@delon/abc'; @Component({ selector: 'compon...原创 2019-11-22 17:19:05 · 917 阅读 · 0 评论 -
Angular开发环境 生产环境
angular 中的 environments文件夹有两个文件environment.ts ,environment.prod.ts 分别对应开发模式,生产模式 在 environment.ts 追加 url:http:development :1234/project 在 environment.prod.ts 追加 url:http:production :8080/project ...原创 2019-11-21 11:53:04 · 771 阅读 · 0 评论 -
zn-zorro建立 调试 布署
项目引用 Angular: https://angular.cn/ Ng-zorro: https://ng.ant.design/docs/introduce/zh 建立项目 $ ng new edd $ cd edd $ ng add ng-zorro-antd Angular常用命令 ng g modul 开发调试 $ ng serve --open 布署...原创 2019-11-18 14:16:12 · 272 阅读 · 0 评论
分享