随笔分类 -  angular

摘要:abp项目默认继承swagger,但我们不想随意的把我们的接口文档暴漏给外部,这样是极其不安全的; 但,我在网上找了一圈,针对.net的解决方案我反正是没找到,没办法,最后自己想了个招儿,我让api在生产部署的时候不暴漏,只允许在我们的测试环境上才可以查看; 其实,很简单,就是对环境变量进行一下判断 阅读全文
posted @ 2021-06-28 18:33 lishidefengchen 编辑
摘要:HTML <ul class="select"> <li class="select-list" *ngFor="let panelItem of filterItems;let index=index;"> <dl id="select{{index}}"> <dt>{{panelItem.tit 阅读全文
posted @ 2020-02-14 18:14 lishidefengchen 编辑
摘要:项目中遇到一个问题,由于每个mdcChip上都有一个change事件,所以想在change事件中操作执行最新被选中的item时,就会遇到一些麻烦。 如何解决呢? 全局设置一个变量,例如:mark 然后,使用一个setTimeout函数来解决这个问题。 if(this.mark undefined) 阅读全文
posted @ 2020-02-11 19:16 lishidefengchen 编辑
摘要:<div mdcChipSet="choice"> <div mdcChip *ngFor="let item of ywDicTypes" (selectedChange)="selected($event,item)"> <div mdcChipText> {{item | localize}} 阅读全文
posted @ 2020-02-05 16:19 lishidefengchen 编辑
摘要:angular dialog标准结构,注意有checkbox时,需要外包一层div,checkbox-wrapper类的这个样式控制了不显示滚动条。 阅读全文
posted @ 2019-11-14 16:57 lishidefengchen 编辑
摘要:pageNumber是点击搜索查询后,跟新的变量值。 阅读全文
posted @ 2019-08-16 17:30 lishidefengchen 编辑
摘要:请检查【app.module.ts】文件中的【declarations】模块最后是否多了一个逗号 (完) 阅读全文
posted @ 2019-07-30 16:59 lishidefengchen 编辑
摘要:import { AppComponentBase } from '@shared/app-component-base'; this.permission.isGranted(menuItem.permissionName); 阅读全文
posted @ 2019-04-30 09:34 lishidefengchen 编辑
摘要:self._entityService .getAll() .pipe( finalize(() => { if (self.sheet && self.sheet.length > 0) { self._xlsxServ... 阅读全文
posted @ 2019-04-15 10:30 lishidefengchen 编辑
摘要:前引 apb部署 后端服务9900端口,域名访问地址是:http://nihao-api.hellow.com; 前端4200端口,域名访问地址是:http://nihao.hellow.com; 前后端的配置文件该如何配置? (注意:下面图片中的地址写错了,按上面的对应替换理解,都是子域名) 前端 阅读全文
posted @ 2019-04-12 09:52 lishidefengchen 编辑
摘要:工作中经常用到Angular Material 中的好多按钮素材,奈何官网经常上不去,所以只能自己把这些常用的按钮扒下来了,留给自己同时也留给大家方便查看。 Angular material mat-icon 资源参考_Action Angular material mat-icon 资源参考_Co 阅读全文
posted @ 2019-04-11 19:09 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 19:05 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 19:04 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 19:04 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 19:03 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 19:02 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 19:02 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 19:01 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 19:00 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 18:59 lishidefengchen 编辑

点击右上角即可分享
微信分享提示