自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 angular 项目打包发布指令

node --max-old-space-size=8192 node_modules\\@angular\\cli\\bin\\ng build --prod

2020-10-09 13:01:08 419

原创 angular 项目(版本>=2.0),echarts 数据不渲染到页面

issue description: angular项目,点击查询按钮,数据能够拿到,但是页面echart没有显示,页面渲染异常reason: 数据拿到时页面已经渲染了,因此没有显示solution: 数据拿到时使用setOption再次渲染,部分代码如下:html:<div echarts id="chart1" [opti...

2019-08-08 10:27:08 561

原创 ABP IocManager Register ABP依赖注入两种方式

ABP依赖注入两种方式Sample1: public WebApi) { IocManager.Instance.RegisterIfNot<IQueryLog,QueryLog>(); _queryBufferLog = IocManager.Instance.Resolv...

2019-07-15 13:30:37 2886

原创 angular ngStyle与ngClass的基本用法

Angular2.0++版本后,两个非常常用指令基本用发如下:"<div [ngStyle]="{'background-color':detail.detailCleaningInformation.showh==1? '#388CFF':'#292E33'}"></div>""<div [ngClass]="{'addicon':record.chi...

2019-06-28 14:41:39 1542

原创 Angular *ngFor 多行输入界面,页面数据和ts中数据不一致问题

问题:点击Add New按钮,会把第一行的数据覆盖掉,但是F12中debug发现数据是正常的解决办法:在input中设置 [ngModelOptions]="{standalone: true}"后功能正常

2019-06-26 15:37:22 575

原创 EF migration conflicted with foreign key constraint

原因:已存在的数据外键引用冲突解决方法:1.删除主表数据2.如果是生产数据,不能删除,那么先将关联字段设置为Null,然后再migration

2019-05-30 16:28:40 163

转载 Echart 实现仪表盘 大半圆环完成率 remark

效果图option = {series: [ { name: '1', type: 'gauge', center: ['50%', '55%'], // 默认全局居中 radius: '100%', min: 0, max: 400, split...

2019-05-23 13:29:46 3296

原创 git Authentication failed

step 1:run git bash as administratorstep 2 :run commandgit config --system --unset credential.helpergit config --global credential.helper storestep 3:git clone ''http://xxx.com'then enter...

2019-05-13 16:19:57 143

原创 使用git上传代码到远端

step 1: 在要传代码的目录位置,鼠标右建调出git bash窗口step 2: 执行命令git initstep 3: 执行命令git add .(有一个点哦)step 4 : 执行命令git commit -m 'first commit'step 5: 执行命令git remote a...

2019-05-07 13:05:08 269

原创 angular5项目下利用router navigate实现页面跳转

1.需要引入import {Router} from '@angular/router';2.ts中添加触发方法 navigate(){ this.router.navigate(['targetRouter'], { queryParams: { id: this.selectedId, ...

2019-04-29 15:13:01 4533

原创 Angular 页面中moments时间的验证-- isSame()用法

1.angular中页面时间绑定,通常采用管道函数绑定 <td style="width:10% !important"> {{record.time|date:'yyyy-MM-dd HH:mm'}} </td>2.有时我们希望在前台做一些筛选...

2019-04-29 13:54:06 1529

原创 angular 6 echarts柱状图事件触发

采用chartClick触发点击柱状图的柱子实现事件触发<div class="align-items-center"> <div echarts [options]="Option" style="height:300px;width:100% (chartClick)="onChartClick($event)"></div>...

2019-04-28 10:12:49 2284 5

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除