@dcloudio/uni-mp-toutiao 3.0.0-alpha-3080120230425001 → 3.0.0-alpha-3080220230428001

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.
@@ -62,7 +62,13 @@ function transformSwiper(node) {
62
62
  }
63
63
  }
64
64
 
65
- const customElements = ['aweme-data', 'consume-card', 'pay-button'];
65
+ const customElements = [
66
+ 'aweme-data',
67
+ 'consume-card',
68
+ 'pay-button',
69
+ 'rate-button',
70
+ 'member-button',
71
+ ];
66
72
  const projectConfigFilename = 'project.config.json';
67
73
  const nodeTransforms = [
68
74
  uniCliShared.transformRef,
@@ -431,14 +431,18 @@ function initDefaultProps(options, isBehavior = false) {
431
431
  if (options.behaviors) {
432
432
  // wx://form-field
433
433
  if (options.behaviors.includes('tt://form-field')) {
434
- properties.name = {
435
- type: null,
436
- value: '',
437
- };
438
- properties.value = {
439
- type: null,
440
- value: '',
441
- };
434
+ if (!options.properties || !options.properties.name) {
435
+ properties.name = {
436
+ type: null,
437
+ value: '',
438
+ };
439
+ }
440
+ if (!options.properties || !options.properties.value) {
441
+ properties.value = {
442
+ type: null,
443
+ value: '',
444
+ };
445
+ }
442
446
  }
443
447
  }
444
448
  return properties;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-mp-toutiao",
3
- "version": "3.0.0-alpha-3080120230425001",
3
+ "version": "3.0.0-alpha-3080220230428001",
4
4
  "description": "uni-app mp-toutiao",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -26,11 +26,11 @@
26
26
  },
27
27
  "gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
28
28
  "dependencies": {
29
- "@dcloudio/uni-cli-shared": "3.0.0-alpha-3080120230425001",
30
- "@dcloudio/uni-mp-compiler": "3.0.0-alpha-3080120230425001",
31
- "@dcloudio/uni-mp-vite": "3.0.0-alpha-3080120230425001",
32
- "@dcloudio/uni-mp-vue": "3.0.0-alpha-3080120230425001",
33
- "@dcloudio/uni-shared": "3.0.0-alpha-3080120230425001",
29
+ "@dcloudio/uni-cli-shared": "3.0.0-alpha-3080220230428001",
30
+ "@dcloudio/uni-mp-compiler": "3.0.0-alpha-3080220230428001",
31
+ "@dcloudio/uni-mp-vite": "3.0.0-alpha-3080220230428001",
32
+ "@dcloudio/uni-mp-vue": "3.0.0-alpha-3080220230428001",
33
+ "@dcloudio/uni-shared": "3.0.0-alpha-3080220230428001",
34
34
  "@vue/shared": "3.2.47",
35
35
  "@vue/compiler-core": "3.2.47"
36
36
  }