摘要: 1.css hover滑入滑出效果 阅读全文
posted @ 2019-03-14 10:35 魔都叛徒 阅读(166) 评论(0) 推荐(0) 编辑
摘要: import axios from 'axios' import qs from 'qs' const baseURL = "http://10.4.108.117:8081/" exports.install = function (Vue, options) { Vue.prototype.get = function (url, data, success) { axios... 阅读全文
posted @ 2019-03-10 15:57 魔都叛徒 阅读(350) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="hello"> <el-button type="primary" @click="add">新增</el-button> <span v-show="none"> {{name=GLobal.username}}</span> <el-button t 阅读全文
posted @ 2019-03-10 15:56 魔都叛徒 阅读(2594) 评论(0) 推荐(0) 编辑
摘要: 创建时间: - 查询 重置 startTimeOptions: { disabledDate(date) { if (date) { return (da... 阅读全文
posted @ 2019-03-10 15:55 魔都叛徒 阅读(1717) 评论(0) 推荐(0) 编辑
摘要: 姓名加密"慕容某霜".replace(/^(.+).(.)$/, "$1*$2"); "李某平".replace(/^(.+).(.)$/, "$1*$2"); 电话号加密 '13947421022'.replace(/(\d{3})\d*([0-9]{4}/), "$1****$2"); 姓名加密 阅读全文
posted @ 2018-09-27 23:33 魔都叛徒 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 方法一: 阅读全文
posted @ 2018-08-25 01:30 魔都叛徒 阅读(228) 评论(0) 推荐(0) 编辑
摘要: //mock/index.js import Mock from 'mockjs' //引入mockjs,npm已安装 import { Random,toJSONSchema } from 'mockjs' // 引入random对象,随机生成数据的对象,(与占位符@一样) Mock.setup({ timeout:1000 //设置请求延时时间 }) const getdata = ... 阅读全文
posted @ 2018-08-20 17:03 魔都叛徒 阅读(1395) 评论(0) 推荐(0) 编辑
摘要: browser: { chrome: /chrome\/(\d+\.\d+)/i.test(navigator.userAgent) ? +RegExp["\x241"] : undefined, firefox: /firefox\/(\d+\.\d+)/i.test(navigator.userAgent) ? +RegExp["\x241"] : undef... 阅读全文
posted @ 2018-08-12 23:43 魔都叛徒 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 数据交互: 1.http协议 2.form 3.ajax--不能跨域,官方 单向 4.jsonp--跨域 不推荐(不支持post) 5.websocket--双向 http协议 协议 1.无状态 客户端访问服务器之后,服务器不能记住客户端 2.连接过程 客户端发送请求到服务器,服务器返回数据 3.x 阅读全文
posted @ 2018-07-25 20:33 魔都叛徒 阅读(317) 评论(0) 推荐(0) 编辑
摘要: echarts 折线图的鼠标移动上去小点显示样式修改 tooltip:{ trigger:'axis', formatter:function(a){ var res = ''; var nameList = a; for(var i=0; i<a.length; i++){ if(nameList 阅读全文
posted @ 2018-07-11 16:26 魔都叛徒 阅读(9186) 评论(0) 推荐(0) 编辑