摘要: 需要写一个滑动验证是否为本人操作,框架用的是vue的elementui, 逻辑是,通过后端的接口取出来相应的大图和小图展示到布局中,然后判断滑行距离(误差十像素之内) 有需要的可以私信我 放上代码供参考: <template> <div> <el-form class="forgetpassword 阅读全文
posted @ 2019-12-31 10:20 阿蒙不萌 阅读(5095) 评论(1) 推荐(0) 编辑
摘要: 一: 只需要在main.js中写这三行代码即可 import axios from 'axios' axios.defaults.withCredentials=true;//让ajax携带cookie Vue.prototype.$axios = axios; 如果cookie携带不过去的话,请求 阅读全文
posted @ 2019-12-31 09:59 阿蒙不萌 阅读(11503) 评论(0) 推荐(0) 编辑