If you choose to use this code in your own system be sure to check if a location is returned and present an informative error message to the user if a location isn't resolved.
如果您选择在自己的系统中使用该代码,一定要检查是否会返回位置并且如果未对某个位置进行解析时为用户呈现一条告知性的错误消息。
Check the deletion function: Delete something and try to retrieve that information. Make sure proper error message is thrown by the system.
检查删除功能:删除信息,然后检索这条信息,确保系统提示正确的错误消息。
ENTER key to check: in the input directly after the ENTER key to see how the system reacts, whether throws some error.
回车键检查:在输入后直接回车键,看看系统的反应,是提示一些错误。
应用推荐