uni-app reports an error routeDone with a webviewId 2 that is not the current page when running WeChat applet

 When developing WeChat applet using HBuilderX uni-app to develop and run the project, novices may get the error routeDone with a webviewId 1 that is not the current page . Sometimes this error message will appear because the debugging basic library is in grayscale. , to solve this error, we can try to downgrade the debugging basic library of the WeChat Developer Tools. There are three steps in total: 1. Click on the details in the upper right corner of the WeChat Developer Tools; 2. Click on Local Settings; 3. Click on the debugging basic library. Choose a version that is lower and not in grayscale .

Step 1: Click Details in the upper right corner of WeChat Developer Tools

 Step 2: Click on Local Settings

Step 3: Click on the debug base library and select a lower version that is not in grayscale. Here I take version 2.25.4 as an example.

 

 The error was resolved

 

Guess you like

Origin blog.csdn.net/solo_exe/article/details/129090119