摘要:
问题一:页面初始加载,部分接口首次请求options是200,然后第二次post请求cancled状态 1. 检查console控制台报错,如果是接口问题,就不用操心了 2.如果是其他报错,那么就不用考虑其他问题了,是因为其他报错导致的后续接口请求取消了 举例:代码冲突导致的i18n文件格式不正确, 阅读全文
摘要:
先上效果图 HTML代码 <div echarts #myEchart [options]="option"></div> ts代码 import { Component, OnInit, ViewChild, ElementRef } from '@angular/core'; import { 阅读全文
摘要:
先看一下目录结构 --aa-item modal-compment modal-compment.component.html modal-compment.component.less modal-compment.component.ts aa-compment aa-compment.comp 阅读全文