includes() 方法用来判断一个数组是否包含一个指定的值,根据情况,如果包含则返回 true,否则返回false。 const array1 = [1, 2, 3]; console.log(array1.includes(2));// expected output: true const ...
分类:
其他好文 时间:
2020-03-24 18:43:27
阅读次数:
53
昨天还能正常运行,今天打开安卓,发现项目编译失败,还以为是自己的代码有错误啊,后来上网一查才发现这是常见错误,直接build->clean project 就可以解决了。 重新编译之后就会发现问题已经成功解决。 Expected BEGIN_ARRAY but was STRING at line ...
分类:
移动开发 时间:
2020-03-23 09:46:36
阅读次数:
161
今天在进行进行数据转换的时候遇到一个异常,java.util.LinkedHashMap cannot be cast to xxx,其中最关键的就是Expected BEGIN_OBJECT but was STRING at line 1 column 644 path $[0].validEn ...
分类:
其他好文 时间:
2020-03-20 12:48:11
阅读次数:
60
今天在启动微服务项目的时候报错: Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'budgetServiceImpl': Unsat ...
分类:
其他好文 时间:
2020-03-11 01:25:28
阅读次数:
85
原因 因为当前文件的解析语法方式,与async await所需要的语法环境不一致导致的 解决方案 在.eslintrc.js中添加 参考 https://github.com/eslint/eslint/issues/8366 ...
分类:
其他好文 时间:
2020-03-10 21:46:43
阅读次数:
110
适用于Excel 2010 xlsx/xlsm/xltx/xltm MS office 2010后的文件,都采用XML格式进行压缩,所以Openpyxl不能适用于2010前的Excel文件了。 操作非常简单,直接上手。 名称解释 名词 解释 备注 Excel文件 工作薄 xlsx,xlsm,xltx ...
分类:
其他好文 时间:
2020-03-06 01:33:36
阅读次数:
217
Exception in thread "main" org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [com.wangyang.demo.Person] is ...
分类:
其他好文 时间:
2020-03-01 21:48:37
阅读次数:
60
这是组件内报错,将Type类型改为[Number, String]即可 props: { count: { type: Number, default: 0 }, } 改为 props: { count: { type: [Number, String], default: 0 }, } ...
分类:
移动开发 时间:
2020-03-01 10:28:20
阅读次数:
168
### 报错/ERROR: ```opendr/contexts/OSMesa/include/GL/glext.h:5794:21: note: expected ‘const GLchar ** {aka const char **}’ but argument is of type ‘char ...
分类:
编程语言 时间:
2020-02-27 23:28:09
阅读次数:
301
React报错: 报错原因List.Item的Item写成了item,小写的i ...
分类:
其他好文 时间:
2020-02-27 01:15:53
阅读次数:
140