Embedded in the program of WeChat small tomato form h5 page, start developing encountered when can open the page from time to time, and sometimes blank, after the forward end colleagues to consult, see small programs run on a different environment, it’s different WeChat support, in this situation the best will be subject to real machine, and on the phone really are normal.

Later, when testing colleagues, encountered the situation that “external domain name is not supported to open”, or after the front-end colleagues’ explanation, I learned that not only need to add a whitelist in the background of the small program, but also need to configure a file under the domain name of the third party (here is Tomato) server, so that it can be displayed normally.

This thing seems very simple, is to use the Web-view component in the small program embedded in an H5 page, but the pit in the middle if you do not know it, it is quite painful to do, again feel do not know how important to consult experienced people!