@a2simcode/ui 0.0.256 → 0.0.257
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/dist/components/card-list/index.d.ts +3 -3
- package/dist/components/card-list/src/card-list.vue.d.ts +1 -1
- package/dist/components/input-layer/index.d.ts +3 -3
- package/dist/components/input-layer/src/input-layer.vue.d.ts +1 -1
- package/dist/simcode-ui.es.js +1996 -1988
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/docs/examples/form/basic.vue +17 -2
- package/package.json +1 -1
|
@@ -153,8 +153,23 @@ const schema = [
|
|
|
153
153
|
label: '弹窗选择',
|
|
154
154
|
field: 'dataItem1',
|
|
155
155
|
placeholder: '请选择类型',
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
valueKey: 'id',
|
|
157
|
+
labelKey: 'name',
|
|
158
|
+
width: 800,
|
|
159
|
+
height: 500,
|
|
160
|
+
// isMultiSelect: true,
|
|
161
|
+
columns: [
|
|
162
|
+
{ id: 'id', config: { label: 'ID', width: 80 } },
|
|
163
|
+
{ id: 'name', config: { label: '名称', width: 120, valueKey: 'username'} },
|
|
164
|
+
{ id: 'code', config: { label: '编码' } },
|
|
165
|
+
],
|
|
166
|
+
loadLayerData: async () => {
|
|
167
|
+
return [
|
|
168
|
+
{ id: '1', name: '类型A', code: 'TYPE_A' },
|
|
169
|
+
{ id: '2', name: '类型B', code: 'TYPE_B' },
|
|
170
|
+
{ id: '3', name: '类型C', code: 'TYPE_C' },
|
|
171
|
+
]
|
|
172
|
+
},
|
|
158
173
|
},
|
|
159
174
|
},
|
|
160
175
|
{
|