Component "pages/pointManage/index" does not have a method "getAddressPoint" to handle event "getAddressInfo".
时间: 2023-11-29 10:03:51 浏览: 183
按钮无法点击 Do not have xx handler in current page,去掉BOM头的方法 ...
根据提供的引用内容,出现的错误是在uniapp框架中,原生代码中的bind应该改成@。具体来说,在<button>标签中,open-type属性应该改成@getPhoneNumber,而不是bindgetphonenumber。\[1\]
至于第二个问题,错误提示是"Component "pages/pointManage/index" does not have a method "getAddressPoint" to handle event "getAddressInfo"。这个错误提示意味着在pages/pointManage/index组件中没有一个名为getAddressPoint的方法来处理getAddressInfo事件。要解决这个问题,你需要在pages/pointManage/index组件中添加一个名为getAddressPoint的方法来处理getAddressInfo事件。这个方法应该包含你想要执行的逻辑代码。
#### 引用[.reference_title]
- *1* [小程序获取手机号: Component “pages/xxx“ does not have a method “getPhoneNumber“ to handle...](https://blog.csdn.net/qq_40259641/article/details/127244212)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文