emacroh5lib 1.0.64 → 1.0.65
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
@@ -117,6 +117,16 @@
|
|
117
117
|
watch: {
|
118
118
|
show(val) {
|
119
119
|
if (val) {
|
120
|
+
|
121
|
+
setTimeout(() => {
|
122
|
+
console.log("切换", Date.now);
|
123
|
+
$this.switchAction("next");
|
124
|
+
console.log("切换1", Date.now);
|
125
|
+
setTimeout(() => {
|
126
|
+
this.switchAction("prev");
|
127
|
+
}, 100);
|
128
|
+
}, 100);
|
129
|
+
|
120
130
|
this.$emit("open");
|
121
131
|
this.index = this.currentIndex;
|
122
132
|
this.init();
|
@@ -195,17 +205,6 @@
|
|
195
205
|
|
196
206
|
Promise.race(promises).then((data) => {
|
197
207
|
|
198
|
-
setTimeout(() => {
|
199
|
-
|
200
|
-
console.log("切换", Date.now);
|
201
|
-
$this.switchAction("next");
|
202
|
-
console.log("切换1", Date.now);
|
203
|
-
setTimeout(() => {
|
204
|
-
this.switchAction("prev");
|
205
|
-
}, 100);
|
206
|
-
|
207
|
-
}, 100);
|
208
|
-
|
209
208
|
this.image = this.$refs["duoViewerImage"];
|
210
209
|
this.initDrag();
|
211
210
|
this.$emit("loadComplete");
|