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