只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-11-01 09:56 ①丶①۵ 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 最近遇到一个问题就是使用axios的post发送请求添加数据默认请求头是 Cont-Type:aapplication/json;charset=utf-8 这属于正常 ,可是后来在编辑的时候用了put请求方式然后就报错,和后台对照发现那边请求头信息是appliction/x-www-form-ur 阅读全文
posted @ 2019-05-16 16:52 ①丶①۵ 阅读(970) 评论(0) 推荐(0) 编辑
摘要: 在mian.js中引入 在组件中直接使用 阅读全文
posted @ 2019-02-27 16:19 ①丶①۵ 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 一下方法是点击获取值然后添加到数组中并去重: 阅读全文
posted @ 2019-02-27 11:01 ①丶①۵ 阅读(2331) 评论(0) 推荐(0) 编辑
摘要: 主要代码就是 window.history.back(-1) 如果要全局配置的话就在mian.js中写如下代码: 然后再vue组件中使用: 阅读全文
posted @ 2019-02-27 10:57 ①丶①۵ 阅读(1088) 评论(0) 推荐(0) 编辑
摘要: //这里用的是methods事件并非watch监听this.zhishi 也不需要 handleNodeClick(data) { this.zhishi.push(data.label); this.zhishi=Array.from(new Set(this.zhishi)); }, 阅读全文
posted @ 2019-02-26 11:34 ①丶①۵ 阅读(807) 评论(0) 推荐(0) 编辑
摘要: 注意: src中spd的值为1~10值越大语速越快 阅读全文
posted @ 2019-02-19 14:42 ①丶①۵ 阅读(619) 评论(0) 推荐(0) 编辑
摘要: 这里传本地图片给后台(java为例),流程是在点击完input file只后就会发送文件给后台提供的接口,会直接返回一个img路径,然后再传给对应的接口 阅读全文
posted @ 2019-02-16 12:52 ①丶①۵ 阅读(941) 评论(0) 推荐(0) 编辑
摘要: 哪里需要禁止选中 css填以上代码即可 阅读全文
posted @ 2019-01-30 13:14 ①丶①۵ 阅读(196) 评论(0) 推荐(0) 编辑
摘要: .shu { display: flex; justify-items: center; flex-wrap: wrap; height: 3.8rem; overflow-y: auto; } .shu::-webkit-scrollbar {/*滚动条整体样式*/ width: 0px; /*高宽分别对应横竖滚动... 阅读全文
posted @ 2019-01-22 09:31 ①丶①۵ 阅读(180) 评论(0) 推荐(0) 编辑