emacroh5lib 1.0.59 → 1.0.62

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": "emacroh5lib",
3
- "version": "1.0.59",
3
+ "version": "1.0.62",
4
4
  "description": "EMacro前端组件库",
5
5
  "main": "dist/emacroh5lib.min.js",
6
6
  "scripts": {
@@ -162,15 +162,19 @@
162
162
  height: `${imageObject.height}px`,
163
163
  };
164
164
 
165
+ console.log("切换1", i);
166
+ if (i == 0) {
167
+ console.log("切换", Date.now);
168
+ $this.switchAction("next");
169
+ console.log("切换1", Date.now);
170
+ // setTimeout(() => {
171
+ // this.switchAction("prev");
172
+ // }, 100);
173
+ }
174
+
165
175
  resolve("");
166
176
  imageObject.onload = null
167
177
 
168
- if (i == 0) {
169
- this.switchAction("next");
170
- setTimeout(() => {
171
- this.switchAction("prev");
172
- }, 100);
173
- }
174
178
  };
175
179
 
176
180
  imageObject.onerror = function (event) {