@dcloudio/uni-mp-vue 3.0.0-alpha-4060120250318001 → 3.0.0-alpha-4060120250328001

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.
@@ -5801,14 +5801,17 @@ function hasIdProp(_ctx) {
5801
5801
  _ctx.$.propsOptions[0] &&
5802
5802
  'id' in _ctx.$.propsOptions[0]);
5803
5803
  }
5804
+ function getVirtualHostId(_ctx) {
5805
+ return _ctx.$scope.virtualHostId;
5806
+ }
5804
5807
  function hasVirtualHostId(_ctx) {
5805
- return _ctx.$scope.virtualHostId !== '';
5808
+ return !!getVirtualHostId(_ctx);
5806
5809
  }
5807
5810
  function genIdWithVirtualHost(_ctx, idBinding) {
5808
5811
  if (!hasVirtualHostId(_ctx) || hasIdProp(_ctx)) {
5809
5812
  return idBinding;
5810
5813
  }
5811
- return _ctx.virtualHostId;
5814
+ return getVirtualHostId(_ctx);
5812
5815
  }
5813
5816
  function genUniElementId(_ctx, idBinding, genId) {
5814
5817
  return genIdWithVirtualHost(_ctx, idBinding) || genId || '';
@@ -6482,14 +6482,17 @@ function hasIdProp(_ctx) {
6482
6482
  _ctx.$.propsOptions[0] &&
6483
6483
  'id' in _ctx.$.propsOptions[0]);
6484
6484
  }
6485
+ function getVirtualHostId(_ctx) {
6486
+ return _ctx.virtualHostId;
6487
+ }
6485
6488
  function hasVirtualHostId(_ctx) {
6486
- return _ctx.virtualHostId !== '';
6489
+ return !!getVirtualHostId(_ctx);
6487
6490
  }
6488
6491
  function genIdWithVirtualHost(_ctx, idBinding) {
6489
6492
  if (!hasVirtualHostId(_ctx) || hasIdProp(_ctx)) {
6490
6493
  return idBinding;
6491
6494
  }
6492
- return _ctx.virtualHostId;
6495
+ return getVirtualHostId(_ctx);
6493
6496
  }
6494
6497
  function genUniElementId(_ctx, idBinding, genId) {
6495
6498
  return genIdWithVirtualHost(_ctx, idBinding) || genId || '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-mp-vue",
3
- "version": "3.0.0-alpha-4060120250318001",
3
+ "version": "3.0.0-alpha-4060120250328001",
4
4
  "description": "@dcloudio/uni-mp-vue",
5
5
  "main": "dist/vue.runtime.esm.js",
6
6
  "module": "dist/vue.runtime.esm.js",
@@ -21,9 +21,9 @@
21
21
  "gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
22
22
  "dependencies": {
23
23
  "@vue/shared": "3.4.21",
24
- "@dcloudio/uni-shared": "3.0.0-alpha-4060120250318001"
24
+ "@dcloudio/uni-shared": "3.0.0-alpha-4060120250328001"
25
25
  },
26
26
  "devDependencies": {
27
- "@dcloudio/uni-mp-vue": "3.0.0-alpha-4060120250318001"
27
+ "@dcloudio/uni-mp-vue": "3.0.0-alpha-4060120250328001"
28
28
  }
29
29
  }