uview-plus 3.1.6 → 3.1.7

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/changelog.md CHANGED
@@ -1,3 +1,5 @@
1
+ ## 3.1.7(2022-08-28)
2
+ 修复布局在微信小程序失效
1
3
  ## 3.1.6(2022-08-25)
2
4
  修复微信小程序下tabbar样式问题
3
5
  ## 3.1.5(2022-08-24)
@@ -41,6 +41,10 @@
41
41
  gridNum: 12
42
42
  }
43
43
  },
44
+ // 微信小程序中 options 选项
45
+ options: {
46
+ virtualHost: true // 将自定义节点设置成虚拟的,更加接近Vue组件的表现。我们不希望自定义组件的这个节点本身可以设置样式、响应 flex 布局等
47
+ },
44
48
  computed: {
45
49
  uJustify() {
46
50
  if (this.justify == 'end' || this.justify == 'start') return 'flex-' + this.justify
@@ -73,6 +73,10 @@
73
73
  }
74
74
  }
75
75
  },
76
+ // 微信小程序中 options 选项
77
+ options: {
78
+ virtualHost: true //将自定义节点设置成虚拟的,更加接近Vue组件的表现。我们不希望自定义组件的这个节点本身可以设置样式、响应 flex 布局等
79
+ },
76
80
  created() {
77
81
  this.init()
78
82
  },
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "uview-plus",
3
3
  "name": "uview-plus",
4
4
  "displayName": "uview-plus3.0重磅发布,利剑出鞘,一统江湖",
5
- "version": "3.1.6",
5
+ "version": "3.1.7",
6
6
  "description": "uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",