摘要: 在utils目录下增加了memoryUtils.js和storageUtils.js 文件 需要安装store.js —> npm install store 【版本:2.0.12】 查看local存储信息,打开开发者工具 memoryUtils.js内容如下: /* 用来在内存中保存一些数据的工具 阅读全文
posted @ 2023-03-10 20:12 以赛亚 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 我们常规的写法如下: reqLogin(username, password).then(response => { console.log("登陆成功了!", response.data) }).catch(error => { console.log("登陆失败了!", error) }) 而我 阅读全文
posted @ 2023-03-10 17:48 以赛亚 阅读(67) 评论(0) 推荐(0) 编辑