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 · 340 阅读 · 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 · 4731 阅读 · 3 评论 -
ng-zorro table sort注意
sort 时 数据必须要先筛选 this.eData.filter((item:any)=>item!==null) 不然不成功原创 2019-11-22 17:20:57 · 796 阅读 · 1 评论 -
angular导出Excel
使用'@delon/abc命令:yarn add file-saveryarn add @delon/abc导出代码import { Component } from '@angular/core';import { STColumn, XlsxService } from '@delon/abc';@Component({ selector: 'compon...原创 2019-11-22 17:19:05 · 752 阅读 · 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 · 570 阅读 · 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-antdAngular常用命令ng g modul开发调试$ ng serve --open布署...原创 2019-11-18 14:16:12 · 198 阅读 · 0 评论