只为成功找方法,不为失败找理由。

博客园 首页 新随笔 联系 订阅 管理

2021年10月14日 #

摘要: 报错信息:vue Ehcarts There is a chart instance already initialized on the dom. 试了往上的几种方式都不行, 最后发现是modal 页面退出时候没有清除掉, <a-modal v-model="visible" title="" : 阅读全文
posted @ 2021-10-14 13:36 诗意的活着 阅读(372) 评论(0) 推荐(1) 编辑

2021年2月25日 #

摘要: <th nz-th nzShowFilter [nzFilters]="listOfName" [nzFilterMultiple]="false" (nzFilterChange)="filter($event,col)" *ngFor="let col of esnAssembleHistory 阅读全文
posted @ 2021-02-25 17:53 诗意的活着 阅读(116) 评论(0) 推荐(0) 编辑

2020年11月30日 #

摘要: 多次覆盖样式不生效,经查证找到一个方法: ::ng-deep .ant-tag{ height: 32px; line-height: 32px; }添加::ng-deep 立马生效,类似vue 中的/deep/ 表示要深度渲染。Vue中别名>>> 阅读全文
posted @ 2020-11-30 18:57 诗意的活着 阅读(482) 评论(0) 推荐(0) 编辑

2020年9月8日 #

摘要: decoration: InputDecoration( contentPadding: EdgeInsets.all(0),) 阅读全文
posted @ 2020-09-08 17:42 诗意的活着 阅读(3657) 评论(0) 推荐(0) 编辑

2020年7月9日 #

摘要: Navigator.of(context).push( MaterialPageRoute( settings: RouteSettings(name: "/Page1"), builder: (context) => Page1(), ), ); Navigator.of(context) .po 阅读全文
posted @ 2020-07-09 16:25 诗意的活着 阅读(2832) 评论(0) 推荐(0) 编辑

2020年6月24日 #

摘要: sudo yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm sudo yum --enablerepo=remi install redis -y 阅读全文
posted @ 2020-06-24 14:58 诗意的活着 阅读(515) 评论(0) 推荐(0) 编辑

2020年5月26日 #

摘要: 1.查找有哪些库可以删。mysql> SHOW DATABASES; + + | Database | + + | information_schema | | java505 | | mysql | | sakila | | sys | | testjdbc | | test | + +2. DR 阅读全文
posted @ 2020-05-26 16:02 诗意的活着 阅读(279) 评论(0) 推荐(0) 编辑

2020年5月25日 #

摘要: flutter中日期的比较比较方便,可以通过difference方法来实现,示例代码如下: //出生日期 final birthday = DateTime(1988, 10, 12); //当前日期 final date2 = DateTime.now(); //比较相差的天数 final dif 阅读全文
posted @ 2020-05-25 10:44 诗意的活着 阅读(3826) 评论(0) 推荐(0) 编辑

2020年5月22日 #

摘要: inputFormatters: [ WhitelistingTextInputFormatter(RegExp( "[a-zA-Z]|[\u4e00-\u9fa5]|[0-9]")), //只能输入汉字或者字母或数字 LengthLimitingTextInputFormatter(maxLeng 阅读全文
posted @ 2020-05-22 11:51 诗意的活着 阅读(3193) 评论(0) 推荐(0) 编辑

2020年5月20日 #

摘要: Info.plist修改 <key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationLandscapeRight</string> <string>UIInterfaceOrientationL 阅读全文
posted @ 2020-05-20 16:37 诗意的活着 阅读(532) 评论(0) 推荐(0) 编辑