Use vue.js in webview to obtain the image path from Alibaba Cloud oss. After obtaining the data, you can open the image address with a browser and the image can be rendered successfully. However, the image sometimes fails to load on the webview page?
The binding image code is as follows:
Sometimes the image is loaded successfully, sometimes it fails. I don’t understand why, please give me some advice!
What error does the console report when it fails? What is the information in the network?
If you go to Alibaba Cloud OSS to query the object temporarily, it will take time and may not be obtained before Vue renders.