原创 菜單

然後真實的菜單: pages.component中調用菜單接口;menus傳遞給ba-menu; ngOnInit() { setTimeout(() => { console.log('傳遞到ba-

原创 新建模塊並修改菜單

一個 模塊真實開始: ng g m pages/dev-center --routing ng g c pages/dev-center --spec false ng g service pages/dev-center/dev

原创 angular-http-baseService

登錄密碼錯誤: res.status=200;status_code=550,status_msg=‘密碼錯誤’;=》首先進入then(success)裏面,然後再判斷是否ok。 404:403也是這個情況。 res.status

原创 angular路由問題

angular路由問題: 參考: 官網:https://angular.cn/guide/router 個人: https://blog.csdn.net/weixin_41952198/article/details/81560

原创 angular報錯記錄-routerLink

(真是tm找了好久,艹) 參考: 個人: https://blog.csdn.net/u010467784/article/details/73605201 點擊路由,沒有跳轉,沒有報錯。 現象一: 使用html中的路由跳轉方式:

原创 路由事件

參考: 官網:https://angular.cn/guide/router#router-events 個人:https://blog.csdn.net/weixin_41952198/article/details/81670

原创 angular中的http

angular中的http: 參考: 官網:https://angular.cn/api/common/http/HttpClient#get 個人: https://blog.csdn.net/It_rod/article/de

原创 問題

pages.module也要引入antd的module,要不,報錯 我使用的angular7.x,所以我用antd的7.x版本;用8.x有問題的。 菜單默認進來選中,需要一個類: ant-menu-item-selected //

原创 問題彙總:

問題彙總: 每個頁面的盒子的padding: .service-flow-list{ padding: 32px; } ==》 :host { padding: 32px; display: block; }

原创 angular中監聽resize事件

參考:https://www.jianshu.com/p/8e746a6c8ac2 import { Observable } from 'rxjs'; // 頁面監聽 Observable.fromEvent(wind

原创 react初始

官網:https://zh-hans.reactjs.org/ 一個人的博客: https://www.cnblogs.com/lsgxeva/p/7976263.html 搭建項目: npx create-react-app m

原创 使用echarts

<div id="{{elementId}}" style="height:400px;width: 100%;"></div> import * as echarts from 'echarts'; constructo

原创 echarts-水球圖

cpu使用率,磁盤剩餘空間等圖形。 參考: https://gallery.echartsjs.com/editor.html?c=xSgRUrdtr_ https://github.com/ecomfe/echarts-liqu

原创 10.jointjs-link-tools

JointJS allows creating fully customizable user interaction tools for your links. These tools show up on user inter

原创 bitcoin

入金: 出金: 揉搓線:先上影線,後下影線 反向揉搓線:先下影響,後上影線 honch網站: https://www.honch.vip