2021年1月20日
摘要: 一、utils文件夹 1.auth.js import Cookies from 'js-cookie'; const loginStatus = 'loginStatus'; export function getLoginStatus () { return Cookies.get(loginS 阅读全文
posted @ 2021-01-20 17:58 美林pml 阅读(809) 评论(0) 推荐(1) 编辑
摘要: 一、获取验证码 实现思路:从后端生成图片,通过接口调用,传输到前台显示 1.api文件中定义: export function getCaptchaApi (params) { return request({ url: '/sys/captcha', method: 'get', response 阅读全文
posted @ 2021-01-20 16:19 美林pml 阅读(230) 评论(0) 推荐(0) 编辑