01 2021 档案

摘要:1.IIS服务器需要安装插件 安装 Url https://www.iis.net/downloads/microsoft/url-rewrite 2.修改配置 在src目录下,添加 web.config <configuration> <system.webServer> <rewrite> <r 阅读全文
posted @ 2021-01-21 09:47 wskxy 阅读(198) 评论(0) 推荐(0) 编辑
摘要:1.安装库和依赖 npm i echarts --save npm i ngx-echarts --save npm i resize-observer-polyfill --save-dev 2.相关配置 在module添加 import { NgxEchartsModule } from 'ng 阅读全文
posted @ 2021-01-19 16:16 wskxy 阅读(224) 评论(0) 推荐(0) 编辑
摘要:第一部分:封装http请求 1.定义 ResultDataModel export interface ResultDataModel<T> { success: boolean; errCode: number; message: string; data: T; pageModel: PageM 阅读全文
posted @ 2021-01-11 09:01 wskxy 阅读(988) 评论(0) 推荐(0) 编辑
摘要:1.新建项目(带路由) ng new demo --routing 2.新建组件 统一放到components目录下(文件夹会自动创建) ng g component components/home 在components下新建文件夹 home,并创建四个组件文件 3.新建服务 ng g servi 阅读全文
posted @ 2021-01-06 17:34 wskxy 阅读(83) 评论(0) 推荐(0) 编辑
摘要:ng add @angular/material 自定义预构建主题 ? Choose a prebuilt theme name, or "custom" for a custom theme: Custom ? Set up global Angular Material typography s 阅读全文
posted @ 2021-01-05 16:59 wskxy 阅读(203) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示