摘要: 转载地址:https://blog.csdn.net/zhaoxiang66/article/details/86703438 class Storage{ constructor(name){ this.name = 'storage'; } //设置缓存 setItem(params){ let 阅读全文
posted @ 2019-11-20 00:06 开江鱼gty 阅读(525) 评论(0) 推荐(0) 编辑
摘要: /*mUtils.js用于解析get请求的参数*/ export const param2Obj = url => { const search = url.split('?')[1] if (!search) { return {} } return JSON.parse('{"' + decod 阅读全文
posted @ 2019-09-30 15:34 开江鱼gty 阅读(4897) 评论(0) 推荐(0) 编辑
摘要: Vue 前端md5加密用户注册时将加密后的密码发送给后端存储当登陆的时候,再将加密后的密码和数据库中加密的密码相匹配。npm: https://www.npmjs.com/package/crypto-browserify此加密无须解密。安装: npm install crypto --save在需 阅读全文
posted @ 2019-09-23 16:18 开江鱼gty 阅读(1192) 评论(0) 推荐(0) 编辑
摘要: 以上,可以使ui标签水平垂直居中 阅读全文
posted @ 2019-09-23 16:13 开江鱼gty 阅读(237) 评论(0) 推荐(0) 编辑
摘要: import axios from 'axios';import {Message } from 'element-ui'//element-ui提示框组件import config from './config';import {removeToken, getToken } from "@/ut 阅读全文
posted @ 2019-09-04 10:42 开江鱼gty 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 导出axios请求 阅读全文
posted @ 2019-09-04 09:34 开江鱼gty 阅读(1246) 评论(0) 推荐(0) 编辑
摘要: 使用框架:element-ui 上传: 下载 阅读全文
posted @ 2019-09-04 09:27 开江鱼gty 阅读(262) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <title></title></head><body> </body><script type="text/javascript"> var data={ name:'taytay', sex:'woman', hobby:'program' 阅读全文
posted @ 2019-07-22 23:22 开江鱼gty 阅读(177) 评论(0) 推荐(0) 编辑
摘要: https://juejin.im/post/59a3f2fe6fb9a0249471cbb4 浏览器兼容性问题解决方案 · 总结 普及:浏览器的兼容性问题,往往是个别浏览器(没错,就是那个与众不同的浏览器)对于一些标准的定义不一致导致的。俗话说:没有IE就没有伤害。 贴士:内容都是自己总结的,不免 阅读全文
posted @ 2019-07-13 11:12 开江鱼gty 阅读(319) 评论(0) 推荐(0) 编辑
摘要: {{n}} 点击 添加数据 删除数据 修改数据 查询数据 阅读全文
posted @ 2019-07-08 15:59 开江鱼gty 阅读(176) 评论(0) 推荐(0) 编辑