摘要: 获取FormGroup里的FormControl对象,通过FormGroup对象的get("FormControlName 名") 示例: 在根模块导入 import { ReactiveFormsModule } from '@angular/forms'; @NgModule({ declara 阅读全文
posted @ 2019-12-28 14:52 玄空2 阅读(1351) 评论(0) 推荐(0) 编辑
摘要: 1、在跟模块下导入 import { ReactiveFormsModule } from '@angular/forms'; @NgModule({ declarations: [ AppComponent, FormArrayComponent, ], imports: [ BrowserMod 阅读全文
posted @ 2019-12-20 14:49 玄空2 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 参照 :https://www.cnblogs.com/shcrk/p/9215923.html angular2的国际化步骤 1、安装ngx所以来的jar包 npm install @ngx-translate/core --save npm install @ngx-translate/http 阅读全文
posted @ 2019-12-18 16:02 玄空2 阅读(228) 评论(0) 推荐(0) 编辑
摘要: package java8; @FunctionalInterfaceinterface Convert<T, F> { T convert(F form); default void run() { System.out.println("hello world"); }} @Functional 阅读全文
posted @ 2019-12-18 11:00 玄空2 阅读(271) 评论(0) 推荐(0) 编辑
摘要: package string; public class Test001 { public static void main(String[] args) { String[] arr = { "ab", "cd", "ef" }; System.out.println(String.join("- 阅读全文
posted @ 2019-12-18 10:44 玄空2 阅读(474) 评论(0) 推荐(0) 编辑
摘要: package test; public class Test014 { public static void main(String[] args) { //translation("abc111abc1111"); translation2("1234451111"); } public sta 阅读全文
posted @ 2019-12-17 11:55 玄空2 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。本文链接:https://blog.csdn.net/u011066470/article/details/97291377———————————————— GROUP BY满足的规则: 所有se 阅读全文
posted @ 2019-09-01 22:32 玄空2 阅读(2305) 评论(0) 推荐(1) 编辑
摘要: package test2; public class Test002 { public static String random(int i) { StringBuffer sb=new StringBuffer(); String s="abcdefghijklmnopq"; for(int j 阅读全文
posted @ 2019-08-13 10:25 玄空2 阅读(303) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <script src="../js/jquery-3.2.1.min.js"></script> <title>Title</title> <script> $(functio 阅读全文
posted @ 2019-08-07 21:18 玄空2 阅读(3827) 评论(0) 推荐(0) 编辑
摘要: & 按位与 &符合可以有多个操作数同时进行按位与运算, 在具体运算时按照从左到右的顺序依次计算 1与1为1,其他的为0 | 按位或 可以有多个符号同时进行或运算,在具体运算时按照从左到右的顺序依次计算 1与任何数的或运算的结果都为1,0与0的或运算为0 ~ 按位取反, 位运算中的唯一单操作数位运算符 阅读全文
posted @ 2019-07-25 23:14 玄空2 阅读(1783) 评论(0) 推荐(0) 编辑