@dolphinweex/weex-harmony 0.1.30 → 0.1.32
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
package/src/.DS_Store
ADDED
Binary file
|
Binary file
|
@@ -7,8 +7,8 @@
|
|
7
7
|
ref="embedElement"
|
8
8
|
:id="embedId"
|
9
9
|
:type="embedType"
|
10
|
-
|
11
|
-
|
10
|
+
width="100%"
|
11
|
+
height="100%"
|
12
12
|
/>
|
13
13
|
</div>
|
14
14
|
</template>
|
@@ -62,15 +62,7 @@ export default {
|
|
62
62
|
}
|
63
63
|
});
|
64
64
|
return filtered;
|
65
|
-
}
|
66
|
-
embedWidth() {
|
67
|
-
// 如果hosSameLayerArgs.width存在且定义了,则使用该值,否则使用defaultWidth
|
68
|
-
return this.hosSameLayerArgs.width || this.defaultWidth;
|
69
|
-
},
|
70
|
-
embedHeight() {
|
71
|
-
// 如果hosSameLayerArgs.height存在且定义了,则使用该值,否则使用defaultHeight
|
72
|
-
return this.hosSameLayerArgs.height || this.defaultHeight;
|
73
|
-
},
|
65
|
+
}
|
74
66
|
},
|
75
67
|
created() {
|
76
68
|
console.log("[sameLayerRendering] web component created.");
|
@@ -670,6 +670,9 @@ export default {
|
|
670
670
|
|
671
671
|
// 检查长按过程中的移动
|
672
672
|
checkLongPressMove(e) {
|
673
|
+
if(this.data.isEditing){
|
674
|
+
e.oriEvent.stopImmediatePropagation();
|
675
|
+
}
|
673
676
|
if (!this.data.isEditable) {
|
674
677
|
return;
|
675
678
|
}
|
@@ -684,9 +687,6 @@ export default {
|
|
684
687
|
e.oriEvent.preventDefault();
|
685
688
|
e.oriEvent.stopPropagation();
|
686
689
|
e.oriEvent.stopImmediatePropagation();
|
687
|
-
e.preventDefault && e.preventDefault();
|
688
|
-
e.stopPropagation && e.stopPropagation();
|
689
|
-
e.stopImmediatePropagation && e.stopImmediatePropagation();
|
690
690
|
}
|
691
691
|
}
|
692
692
|
|
@@ -775,9 +775,6 @@ export default {
|
|
775
775
|
e.oriEvent.stopPropagation();
|
776
776
|
e.oriEvent.stopImmediatePropagation();
|
777
777
|
}
|
778
|
-
e.preventDefault && e.preventDefault();
|
779
|
-
e.stopPropagation && e.stopPropagation();
|
780
|
-
e.stopImmediatePropagation && e.stopImmediatePropagation();
|
781
778
|
}
|
782
779
|
|
783
780
|
const touch = e.changedTouches[0];
|