TypeError: AMap.Autocomplete is not a constructor 把 Autocomplete 的 c 改成大写即可 AutoComplete 如果是 Autocomplete 的话如下 改成 AutoComplete 之后如下