原创 Angular Material Input Required
添加出多行Input, 解決點擊一出, 多行顯示校驗問題 <div fxFlex="100" fxLayout="row" fxLayoutAlign="space-between center" fxFlex="1 0 auto
原创 NAVICAT 1045 - Access denied for user 'root'@'localhost' (using password: NO)
Navicat ssh遠程連接服務器數據庫 1045 - Access denied for user 'root'@'localhost' (using password: NO) 報錯, MySQL沒有遠程連接權限 授權允許遠程訪問
原创 show databases;
show databases; 注意; 英文標點符號
原创 Angular 父組件傳值給子組件, ngOnChanges only fire once
只有父組件傳值變化時, 子組件的ngOnChanges()纔會觸發 changeFromParent() will call ngOnChanges() https://www.stackchief.com/blog/ngOnChan
原创 iview DatePicke開始時間和結束時間約束
<FormItem label=""> <Row> <Col span="11"> <DatePicker type="date" :options="startTimeOptions" @on-chang
原创 JS 不同時間格式轉換(ISO時間&時間戳轉北京時間)
//格林尼治2019-03-19T16:00:00.000Z ==>> 2019-03-20 00:00:00 與北京時間8小時時差 //格林尼治2019-03-19T16:00:00.000Z ==
原创 Iview DatePicker 之前月份禁用&& 下月可用
<template> <Row> <Col span="12"> <DatePicker type="date" :options="options3" placeholder="Sel
原创 Angular 聲明對象, 指定合適的類型
// selectedSuburbItem:Object; // selectedSuburbItem:Object = { // suburb: "", // postcode: ""
原创 Angular input延遲防抖debounceTime
import {Component, OnInit} from '@angular/core'; import {AbstractControl, FormBuilder, FormGroup, Validators} from '@a
原创 js if else if 判斷不能連寫
別人的錯誤, if 語句, 不能連寫 if(length>200){ } console.log('判斷200-500') zoom = 9
原创 mat-checkbox is not a known element
'mat-checkbox' is not a known element: 1. If 'mat-checkbox' is an Angular component, then verify that it is part of thi
原创 Laravel 5.8 以及6.0 跨域解決方案
這個是Laravel 5.7的解決方案: https://learnku.com/articles/19246, 但是在5.8中可是可以用的, 不過需要設置: $allow_origin = [ 'http://
原创 NAVICAT 2003 - Can't connect to MySQL server on '150.158.119
Navicat無法遠程連接騰訊雲服務器MySQL, 2003 - Can't connect to MySQL server on '150.158.119.... 以及phpstorm報錯: Warning: mysqli_co
原创 mac 安裝iTerm2
今天,我們的目標是下載iTerm 2,並配置主題和自動提示功能,這裏整體的搭配組合爲:iTerm2 + Oh my zsh + zsh 1、下載iTerm 2:http://www.iterm2.com/ 這裏我下載3.1.5版本
原创 PHP MAMP MySQL
MacOSX通過MAMP集成安裝連接MySQL 在terminal 執行: mysql -uroot -proot 出現如下信息, 成功! 問題: 安裝的時候,出現 bash - command not found 出現問題