message:Error: utils/city.js: file: utils/city.js
unknown: Identifier 'searchLetter' has already been declared. (6:9)
4 | var searchLetter = ["A", "B", "C", "D", "E", "F", "G", "H","J", "K", "L", "M", "N", "P", "Q", "R", "S", "T", "W", "X", "Y", "Z"]
5 |
> 6 | function searchLetter() {
| ^
7 | return searchLetter;
8 | }
9 |
ideVersion: 1.05.2106172
osType: win32-x64
time: 2021-06-21 15:25:46
相同的变量 searchLetter 重复定义了。
你觉得 searchLetter 应该是一个变量还是一个方法
解决了,感觉这官方这社区就是个摆设!
请问滞后怎么解决的?遇到同样的问题
怎么解决?