pixuireactcomponents 1.3.39 → 1.3.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixuireactcomponents",
3
- "version": "1.3.39",
3
+ "version": "1.3.40",
4
4
  "description": "pixui react components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -120,7 +120,7 @@ export var PreLoadPic = function (props) {
120
120
  }
121
121
  });
122
122
  }
123
- }, []);
123
+ }, [url]);
124
124
  return (h("img", { src: _url, style: { width: width, height: height }, className: className, onClick: onClick, onLoad: function () {
125
125
  setLoaded(true);
126
126
  } }));