130 Star 1.4K Fork 616

smallchill / Sword

 / 详情

登录Sword 报错

待办的
创建于  
2020-03-06 21:04

Unhandled Rejection (TypeError): Cannot read property 'data' of undefined
(anonymous function)
src/components/Login/LoginItem.js:49
46 |
47 | refreshCaptcha = () => {
48 | // 获取验证码

49 | getCaptchaImage().then(resp => {
| ^ 50 | const {data} = resp;
51 | if (data.key) {
52 | this.setState({ image: data.image });
View compiled

评论 (1)

小胖孩 创建了任务
小胖孩 关联仓库设置为smallchill/Sword
展开全部操作日志

package中的start改成 "start": "cross-env APP_TYPE=site PORT=8888 umi dev"

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
JavaScript
1
https://gitee.com/smallc/Sword.git
git@gitee.com:smallc/Sword.git
smallc
Sword
Sword

搜索帮助