上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: import * as React from 'react' // import Echarts from 'echarts' import ReactEcharts from 'echarts-for-react' //用这个插件解决 let echartsOption = {} // 配置项 export interface IProps { } interface IState {... 阅读全文
posted @ 2019-07-11 17:59 Webwhl 阅读(1583) 评论(0) 推荐(0) 编辑
摘要: import * as React from 'react' import Echarts from 'echarts' export interface IProps { } interface IState { myEchart?: any } class CapitalBudget extends React.Component { LineRef: any = un... 阅读全文
posted @ 2019-07-11 17:17 Webwhl 阅读(1855) 评论(0) 推荐(0) 编辑
摘要: import * as React from 'react' import { Layout, Menu, Carousel } from 'antd' import './index.less' import tu1 from '../../assets/images/waterInfor/img/tu1.jpg' import tu2 from '../../assets/images/w... 阅读全文
posted @ 2019-07-02 12:46 Webwhl 阅读(932) 评论(0) 推荐(0) 编辑
摘要: import { Table, Carousel, Input, Tabs, Icon } from 'antd' next() { this.slider.slick.slickNext(); } prev() { this.slider.slick.slickPrev(); } goTop = () => { th... 阅读全文
posted @ 2019-06-28 16:06 Webwhl 阅读(2609) 评论(0) 推荐(0) 编辑
摘要: const checkModel = (Model) => { const models = ['pegeot', 'rest']; if(models.includes(Model)){ console.log('ss') } } checkModel('pegeot') ... 阅读全文
posted @ 2019-06-28 09:25 Webwhl 阅读(686) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-06-27 11:51 Webwhl 阅读(364) 评论(0) 推荐(0) 编辑
摘要: --> 编号 名称 时间 信息 编辑 1 summit 2019-03-22 gis 删除 1 summit 2019-03-22 gis 删除 ... 阅读全文
posted @ 2019-06-25 14:22 Webwhl 阅读(311) 评论(0) 推荐(0) 编辑
摘要: import moment from 'moment' console.log(moment().add(1, 'days').format('YYYY-MM-DD')) //当前时间前一天 console.log(moment().add(-1, 'week').format('YYYY-MM-D 阅读全文
posted @ 2019-06-17 17:20 Webwhl 阅读(1190) 评论(0) 推荐(0) 编辑
摘要: //创建时间禁用大于当前时间 const disabledDate = (current) => { return current > moment(); //今天可以选 } 阅读全文
posted @ 2019-06-13 16:31 Webwhl 阅读(906) 评论(0) 推荐(0) 编辑
摘要: var str = ''; for(var i = 0;i" + (i + 1) + "" + data.list[i].name + "" + data.list[i].time + "" + data.list[i].info + "删除" } $("#tabList").append(str); 加了反斜杠 阅读全文
posted @ 2019-06-04 10:22 Webwhl 阅读(171) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页