公共层Nodule:zyproject-common,通用返回体、状态码枚举、自定义分页类。本来计划Entity放在common里的,后来想了下,还是放到接口层,反正其他层也都会引用接口层。 接口独立成一个Module:zyproject-api-service,定义访问接口,供实现类、表现层调用, ...
分类:
其他好文 时间:
2020-02-18 18:37:52
阅读次数:
73
angular的装饰器 类装饰器(class decorator) 装饰器会出现在类定义的紧前方,用来声明该类具有指定的类型,并且提供适合该类型的元数据。 可以用下列装饰器来声明Angular的类: @Component() @Directive() @Pipe() @Injectable() @N ...
分类:
其他好文 时间:
2020-02-17 19:52:39
阅读次数:
707
@Injectable({ providedIn: "root" | "any" | "platform" }) export class MyService {} More ProvidedIn: root Every service defined with 'root' will be pro ...
分类:
其他好文 时间:
2020-02-17 17:58:30
阅读次数:
70
The $any() type cast function Sometimes a binding expression triggers a type error during AOT compilation and it is not possible or difficult to fully ...
分类:
其他好文 时间:
2020-02-17 17:56:29
阅读次数:
86
Html: <input type="range" value="0" [style.--thumb-rotate]="720 * $any(input.value)/100 + 'deg'" #input (input)="0"> CSS: input[type="range"]::-webkit ...
分类:
Web程序 时间:
2020-02-17 17:37:48
阅读次数:
91
1、在master节点执行 生成bootstrap.kubeconfig、kube-proxy.kubeconfig配置文件 # 设置客户端认证参数 #token 配置文件在/opt/kubernetes/cfg/token.csv文件里面,可以重上面博客找 kubectl config set-c ...
分类:
其他好文 时间:
2020-02-17 16:25:41
阅读次数:
111
相信很多人在刚开始学习vue这个框架的时候,最开始搭建开发环境的时候,都会遇到一些大大小小的坑,我之前学习angular的时候搭建过一次,过了一个月后再搭建第二次的时候,竟然有一些混乱,所以今天想整理出来; vue现如今在前端中,是前端工程师比较常用的框架之一,他和angular有一些相似之处,所以 ...
分类:
其他好文 时间:
2020-02-17 16:19:51
阅读次数:
70
DevExtreme Complete Subscription是性能最优的 HTML5,CSS 和 JavaScript 移动、Web开发框架,可以直接在Visual Studio集成开发环境,构建移动应用程序。从Angular和React到ASP.NET MVC或Vue,DevExtreme包括 ...
分类:
其他好文 时间:
2020-02-17 12:24:22
阅读次数:
88
内容: """ 第三方插件: 1)vuex:组件间交互的(移动端) 2)axios - 前后台(django):ajax 3)element-ui:页面布局 4)jq+bs:jQuery+BootStrap """ vuex插件:可以完成任意组件间信息交互(移动端) - 了解 """ 1)vuex是 ...
分类:
移动开发 时间:
2020-02-17 01:08:03
阅读次数:
95
onSave(personName) { this.person.name = personName; this.peopleService.save(this.person).subscribe(() => { // redirect back people list // this.router ...
分类:
其他好文 时间:
2020-02-17 01:03:40
阅读次数:
77