Micro letter applet fails to load the picture processing program

  Display applet end network resource picture may fail with the following describes a method for their treatment

  1. js file to determine whether there is a picture url, there is the normal display, it does not exist to replace the default image url for the local

  2. When the picture url exists, but fails to load. Applet image tags, provide binderror setData replaced with pictures url url local

PS:
  Many people will first step on the inside html url url:? '/Image/default.png', to deal with. The principle is the same, but this kind of processing of personal recommendation to place the logical layer

  The second step, a picture url setData form in parentheses wrapped string can use the assignment. This should be a routine operation

Guess you like

Origin www.cnblogs.com/lankongclub/p/11084327.html