当前位置:网站首页>TypeError: Cannot read properties of undefined (reading ‘then‘)
TypeError: Cannot read properties of undefined (reading ‘then‘)
2022-07-29 04:22:00 【Strange potato cake】
This causes an error , The reason is that :
Encapsulate the api There is no return value , When calling this interface, there is no return value ,then The previous content is false.
Amend this bug The method is also very simple , Just turn curly braces into parentheses , After it becomes a parenthesis, there is a return value .
There will be no error report .
You should be careful when writing code ~~ Don't be so careless as Xiaobian o(╥﹏╥)o
边栏推荐
- Pytoch automatic mixing accuracy (AMP) training
- No, just stick to it for 64 days. Find the insertion location
- MySQL - 深入解析MySQL索引数据结构
- 信号处理中的反傅里叶变换(IFFT)原理
- Shell string segmentation
- Target detection learning process
- Opengauss pre check installation
- Pytoch distributed training
- Leftmost prefix principle of index
- 10.回退消息
猜你喜欢
编译与链接
10. Fallback message
Common components of solder pad (2021.4.6)
Sequence list and linked list
论pyscript使用感想(实现office预览)
Implementation of jump connection of RESNET (pytorch)
用 ZEGO Avatar 做一个虚拟人|虚拟主播直播解决方案
14.haproxy+keepalived负载均衡和高可用
Basic operation of queue
Don't stick to it for 68 days. Baboons eat bananas
随机推荐
LeetCode_ Stack topics
Record of problems encountered in ROS learning
The third ACM program design competition of Wuhan University of Engineering
顺序表和链表
C语言:联合体知识点总结
Not for 58 days. Implement prefix tree
12.优先级队列和惰性队列
编译与链接
6. Pytest generates an allure Report
不会就坚持69天吧 合并区间
Pytorch fixed random seed & recurrence model
Wechat applet parameter transfer
Why are there so many unknowns when opengauss starts?
Pytorch GPU and CPU models load each other
How to write the filter conditions of data integration and what syntax to use? SQL syntax processing bizdate can not be
Opengauss pre check installation
淘宝商品详情接口(商品详情页面数据接口)
openFeign异步调用问题
Differences and principles of bio, NiO and AIO
Database SQL statement realizes function query of data decomposition