上一页 1 2 3 4 5 6 7 ··· 25 下一页
  2022年2月20日
摘要: 父组件,传递属性到子组件 在子组件应用: @Input() title: any 父组件,传值 <app-header [title]="'你好,我是来自form页面的title'"></app-header> 父组件,传递方法到子组件 父组件,传方法:show <app-header [title 阅读全文
posted @ 2022-02-20 21:42 biind 阅读(81) 评论(0) 推荐(0)
摘要: 创建个服务 ng g service services/search 全局引入并配置服务 import {SearchService} from './services/search.service' providers: [SearchService], 在组件中,使用服务 import {Sea 阅读全文
posted @ 2022-02-20 20:58 biind 阅读(34) 评论(0) 推荐(0)
摘要: 1.引入表单 2.简单使用 参考地址:https://www.bilibili.com/video/BV1Wt411V7RC?p=6&spm_id_from=pageDriver 1.引入表单 2.简单使用 import {NgModule} from '@angular/core'; import 阅读全文
posted @ 2022-02-20 20:39 biind 阅读(260) 评论(0) 推荐(0)
摘要: 1.表单 2.其它 参考:https://www.bilibili.com/video/BV1Wt411V7RC?p=10 1.表单 添加表单 import {FormsModule} from '@angular/forms'双向绑定,input例子:<input [(ngModel)]="tit 阅读全文
posted @ 2022-02-20 17:59 biind 阅读(78) 评论(0) 推荐(0)
摘要: 1.安装node.js + angular cli 2.新建个项目@angular/cli 3.基础命令 参考:https://www.bilibili.com/video/BV1Wt411V7RC?p=10 1.安装node.js + angular cli node下载地址:https://no 阅读全文
posted @ 2022-02-20 13:14 biind 阅读(167) 评论(0) 推荐(0)
  2022年1月23日
摘要: 1.安装node.js #执行完,在系统的环境变量,增加path:D:\Program Files\node_global npm config set prefix "D:\Program Files\node_global" npm config set cache "D:\Program Fi 阅读全文
posted @ 2022-01-23 21:13 biind 阅读(67) 评论(0) 推荐(0)
摘要: #配置镜像加速vi /etc/docker/daemon.json{“registry-mirrors: ["https://docker.mirors.ustc.edu.cn"]} #安装centos7docker run -it --name=mycentos centos:7 /bin/bas 阅读全文
posted @ 2022-01-23 15:50 biind 阅读(330) 评论(0) 推荐(0)
摘要: #docker容器保存为镜像docker commit mysql mysql20220123docker images 可查看刚刚保存的镜像 docker stop mysqldocker rm mysqldocker run -id --name mysql -p 3306:3306 -e MY 阅读全文
posted @ 2022-01-23 11:16 biind 阅读(60) 评论(0) 推荐(0)
摘要: 前提:linux安装 + docker安装,参考地址; linux 安装docker和mysql - biind - 博客园 (cnblogs.com) 目录: 1.docker基本使用命令 2.docker安装mysql + tomcat + nginx 1.docker基本使用命令 #查询镜像 阅读全文
posted @ 2022-01-23 07:46 biind 阅读(86) 评论(0) 推荐(0)
  2022年1月22日
摘要: 1.let const 声明变量 let i = 1; //不可重复声明,不变量提升 const j = 100; //只读 var k = 20; console.log(i,j,k) 2.对象优化 let person = {id:1,name:'jack'} let peson2 = Obje 阅读全文
posted @ 2022-01-22 11:11 biind 阅读(49) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 25 下一页