当前位置:网站首页>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
边栏推荐
猜你喜欢

不会就坚持64天吧 查找插入位置

Object detection: object_ Detection API +ssd target detection model

Can you really write restful API?

从淘宝,天猫,1688,微店,京东,苏宁,淘特等其他平台一键复制商品到拼多多平台(批量上传宝贝详情接口教程)

不会就坚持69天吧 合并区间

信号处理中的反傅里叶变换(IFFT)原理

Definition and implementation of stack and queue (detailed)

11.备份交换机

MySQL - 深入解析MySQL索引数据结构

10. Fallback message
随机推荐
Not 67 days, square root
MySQL - 深入解析MySQL索引数据结构
C语言:浅谈各种复杂的声明
14.haproxy+keepalived负载均衡和高可用
RMAN do not mark expired backups
12. Priority queue and inert queue
What is the use of meta-info?
Svg -- loading animation
The principle of inverse Fourier transform (IFFT) in signal processing
Introduction and examples of parameters in Jenkins parametric construction
Leftmost prefix principle of index
Don't the JDBC SQL connector of the big guys Flink now support all databases, such as vertica?
Machine vision Series 1: Visual Studio 2019 dynamic link library DLL establishment
Down sampling and up sampling
C language: enumerating knowledge points summary
Two forms of softmax cross entropy + numpy implementation
10. Fallback message
Sign the college entrance examination
Don't stick to it for 68 days. Baboons eat bananas
Machine vision Series 2: vs DLL debugging