@dckj-npm/dc-material 0.1.134 → 0.1.136

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.
@@ -72,8 +72,9 @@ const DCFormMeta: IPublicTypeComponentMetadata = {
72
72
  initialValue: 'small',
73
73
  props: {
74
74
  defaultValue: 'small',
75
- options: fetchFormOptions(),
75
+ options: [], // 初始为空数组,避免立即调用异步函数
76
76
  },
77
+ getter: fetchFormOptions,
77
78
  },
78
79
  },
79
80
  {
@@ -92,8 +92,9 @@ var DCFormMeta = {
92
92
  initialValue: 'small',
93
93
  props: {
94
94
  defaultValue: 'small',
95
- options: fetchFormOptions()
96
- }
95
+ options: [] // 初始为空数组,避免立即调用异步函数
96
+ },
97
+ getter: fetchFormOptions
97
98
  }
98
99
  }, {
99
100
  name: '数据源绑定',
@@ -95,7 +95,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
95
95
  packageName = '@dckj-npm/dc-material';
96
96
  }
97
97
  if (version === void 0) {
98
- version = '0.1.134';
98
+ version = '0.1.136';
99
99
  }
100
100
  if (basicLibraryVersion === void 0) {
101
101
  basicLibraryVersion = {
@@ -97,8 +97,9 @@ var DCFormMeta = {
97
97
  initialValue: 'small',
98
98
  props: {
99
99
  defaultValue: 'small',
100
- options: fetchFormOptions()
101
- }
100
+ options: [] // 初始为空数组,避免立即调用异步函数
101
+ },
102
+ getter: fetchFormOptions
102
103
  }
103
104
  }, {
104
105
  name: '数据源绑定',
@@ -100,7 +100,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
100
100
  packageName = '@dckj-npm/dc-material';
101
101
  }
102
102
  if (version === void 0) {
103
- version = '0.1.134';
103
+ version = '0.1.136';
104
104
  }
105
105
  if (basicLibraryVersion === void 0) {
106
106
  basicLibraryVersion = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dckj-npm/dc-material",
3
- "version": "0.1.134",
3
+ "version": "0.1.136",
4
4
  "description": "dc低代码物料",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -103,7 +103,7 @@
103
103
  },
104
104
  "componentConfig": {
105
105
  "isComponentLibrary": true,
106
- "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.134/build/lowcode/assets-prod.json"
106
+ "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.136/build/lowcode/assets-prod.json"
107
107
  },
108
108
  "lcMeta": {
109
109
  "type": "component"