wx.relauch is not a function
时间: 2023-09-28 19:09:05 浏览: 99
The error message "wx.relauch is not a function" typically occurs when you try to call the "wx.relaunch" function in WeChat Mini Program, but it is not defined or available in the current scope.
There may be several reasons why this function is not available, such as:
1. You have misspelled the function name. Double-check the spelling to make sure it is correct.
2. The function has been removed or deprecated. Check the WeChat Mini Program documentation to see if the function is still available.
3. You are calling the function in the wrong context. Make sure you are calling the function in the appropriate context where it is defined.
To resolve this issue, you can try the following steps:
1. Check the spelling of the function and make sure it is correct.
2. Check the WeChat Mini Program documentation to see if the function is still available.
3. Make sure you are calling the function in the appropriate context where it is defined.
If none of these steps work, you may need to seek further assistance from the WeChat Mini Program community or support team.
阅读全文