@dolphinweex/weex-harmony 0.1.30 → 0.1.31

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": "@dolphinweex/weex-harmony",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "weex harmony adapter",
5
5
  "main": "index.js",
6
6
  "files": [
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
- :width="embedWidth"
11
- :height="embedHeight"
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.");