上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: import React, { Component } from 'react';import { Button } from 'antd';import cookie from 'react-cookies'class Cookie extends Component { constructor( 阅读全文
posted @ 2018-09-06 14:41 一叶*秋 阅读(19857) 评论(0) 推荐(0) 编辑
摘要: import React, { Component } from 'react';import { BrowserRouter as Router, Route, Link, Switch, Redirect} from 'react-router-dom';import About from '. 阅读全文
posted @ 2018-09-06 14:39 一叶*秋 阅读(1649) 评论(0) 推荐(0) 编辑
摘要: <!--设置过期时间设置0为直接过期并清除缓存--> <!--设置过期时间设置0为直接过期并清除缓存--> <meta http-equiv="Expires" content="0"> <meta http-equiv="Expires" content="0"> <!--设置不缓存页面--> < 阅读全文
posted @ 2018-08-23 12:21 一叶*秋 阅读(710) 评论(0) 推荐(0) 编辑
摘要: 将回调延迟到下次 DOM 更新循环之后执行。在修改数据之后立即使用它,然后等待 DOM 更新。它跟全局方法 Vue.nextTick 一样,不同的是回调的 this 自动绑定到调用它的实例上。this.$nextTick(()=>{ this.$refs.table.refresh();});例如通 阅读全文
posted @ 2018-08-08 15:50 一叶*秋 阅读(2768) 评论(0) 推荐(0) 编辑
摘要: data中的参数变化 data{ name:'', } 阅读全文
posted @ 2018-08-02 16:31 一叶*秋 阅读(2612) 评论(0) 推荐(0) 编辑
摘要: return{ expandTable:{}, } getOrgTree () { this.$Request.get('api/groups/tree', {}).then(res => { console.log(res); if (res && res.code 0) { if (Array. 阅读全文
posted @ 2018-07-23 17:43 一叶*秋 阅读(2380) 评论(1) 推荐(0) 编辑
摘要: mapTree (org) { const haveChildren = Array.isArray(org.children) && org.children.length > 0; return { //分别将我们查询出来的值做出改变他的key title: org.groupName, lab 阅读全文
posted @ 2018-07-23 10:27 一叶*秋 阅读(5491) 评论(0) 推荐(0) 编辑
摘要: <Table style="margin-top: 16px;" stripe border :columns="fundcols" :data="dataMsg" size="small"></Table> stripe隔行变色 阅读全文
posted @ 2018-07-13 11:19 一叶*秋 阅读(1612) 评论(0) 推荐(0) 编辑
摘要: 将数据以XLSX的形式导出需要安装XLSX.js文件 npm install xlsx --save exportData(){ let table='考勤查看'; let page=1; let rows=this.totals; let exportTableCellColumn={ xuhao 阅读全文
posted @ 2018-07-13 10:27 一叶*秋 阅读(711) 评论(0) 推荐(0) 编辑
摘要: this.formValidate.title = this.formValidate.title.replace(/(^\s*)|(\s*$)/g, ""); 阅读全文
posted @ 2018-07-13 08:42 一叶*秋 阅读(5420) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页

博客侧边栏公告广告位招租