diff --git a/packages/ui-vue2/src/button/formConfig.ts b/packages/ui-vue2/src/button/formConfig.ts index 9a11d765..9f4529b2 100644 --- a/packages/ui-vue2/src/button/formConfig.ts +++ b/packages/ui-vue2/src/button/formConfig.ts @@ -16,4 +16,9 @@ * limitations under the License. */ -export default []; +export default [ + { + text: '文本', + name: 'text', + }, +]; diff --git a/packages/ui-vue2/src/container/formConfig.ts b/packages/ui-vue2/src/container/formConfig.ts index 9a11d765..d9e97a47 100644 --- a/packages/ui-vue2/src/container/formConfig.ts +++ b/packages/ui-vue2/src/container/formConfig.ts @@ -16,4 +16,15 @@ * limitations under the License. */ -export default []; +export default [ + { + name: 'layout', + text: '容器布局', + type: 'select', + defaultValue: 'absolute', + options: [ + { value: 'absolute', text: '绝对定位' }, + { value: 'relative', text: '流式布局' }, + ], + }, +]; diff --git a/packages/ui-vue2/src/text/formConfig.ts b/packages/ui-vue2/src/text/formConfig.ts index 9a11d765..fed6e928 100644 --- a/packages/ui-vue2/src/text/formConfig.ts +++ b/packages/ui-vue2/src/text/formConfig.ts @@ -16,4 +16,14 @@ * limitations under the License. */ -export default []; +export default [ + { + name: 'text', + text: '文本', + }, + { + name: 'multiple', + text: '多行文本', + type: 'switch', + }, +];