Commit Graph

6 Commits

Author SHA1 Message Date
FairyEver
f53927121e feat: 📦 lodash to lodash-es 2020-11-17 08:32:46 +08:00
FairyEver
079fd1c280 feat: 移除对 error 的无用判断
Variable 'error' is null checked here, but afterwards at line 68 , it is passed as the first parameter of 'errorLog()' without null check. Note that the parameter's property is accessed in the function body at line 72 of src/api/tools.js.
2020-06-08 15:48:21 +08:00
FairyEver
b1ea3e81a6 feat: 🎨 解决关于 error 信息的检查遗漏提示
Variable 'error' is null checked here, but afterwards at line 67 , it is passed as the first parameter of 'errorLog()' without null check. Note that the parameter's property is accessed in the function body at line 72 of src/api/tools.js.
2020-06-08 15:01:06 +08:00
FairyEver
d6704dad5c feat: 💡 分离用于真实网络请求和模拟请求的 service 2020-05-19 09:15:57 +08:00
FairyEver
ac9b1ea26d feat: 使用 axios 扩展的方式实现 mock 数据 2020-05-07 23:02:12 +08:00
FairyEver
28acfdbb04 feat: 优化接口配置设计,注册的网络请求会自动注册到 vue 原型 $api 上,修改了一些旧的接口调用方式 2020-05-07 15:49:28 +08:00