未验证 提交 e4305daf 编写于 作者: chenli_1989's avatar chenli_1989 提交者: GitHub

perf: remove ant-design-vue@3.0.0-beta.11 .ant-col fix (#1734)

上级 10b59395
...@@ -2,11 +2,6 @@ ...@@ -2,11 +2,6 @@
@import './input.less'; @import './input.less';
@import './btn.less'; @import './btn.less';
// TODO beta.11 fix
.ant-col {
width: 100%;
}
.ant-image-preview-root { .ant-image-preview-root {
img { img {
display: unset; display: unset;
......
...@@ -142,6 +142,9 @@ ...@@ -142,6 +142,9 @@
field: 'divider-basic', field: 'divider-basic',
component: 'Divider', component: 'Divider',
label: '基础字段', label: '基础字段',
colProps: {
span: 24,
},
}, },
{ {
field: 'field1', field: 'field1',
...@@ -340,6 +343,9 @@ ...@@ -340,6 +343,9 @@
field: 'divider-api-select', field: 'divider-api-select',
component: 'Divider', component: 'Divider',
label: '远程下拉演示', label: '远程下拉演示',
colProps: {
span: 24,
},
}, },
{ {
field: 'field30', field: 'field30',
...@@ -458,6 +464,9 @@ ...@@ -458,6 +464,9 @@
field: 'divider-linked', field: 'divider-linked',
component: 'Divider', component: 'Divider',
label: '字段联动', label: '字段联动',
colProps: {
span: 24,
},
}, },
{ {
field: 'province', field: 'province',
...@@ -509,6 +518,9 @@ ...@@ -509,6 +518,9 @@
component: 'Divider', component: 'Divider',
label: '互斥多选', label: '互斥多选',
helpMessage: ['两个Select共用数据源', '但不可选择对方已选中的项目'], helpMessage: ['两个Select共用数据源', '但不可选择对方已选中的项目'],
colProps: {
span: 24,
},
}, },
{ {
field: 'selectA', field: 'selectA',
...@@ -535,6 +547,9 @@ ...@@ -535,6 +547,9 @@
component: 'Divider', component: 'Divider',
label: '字段解构', label: '字段解构',
helpMessage: ['如果组件的值是 array 或者 object', '可以根据 ES6 的解构语法分别取值'], helpMessage: ['如果组件的值是 array 或者 object', '可以根据 ES6 的解构语法分别取值'],
colProps: {
span: 24,
},
}, },
{ {
field: '[startTime, endTime]', field: '[startTime, endTime]',
...@@ -550,6 +565,9 @@ ...@@ -550,6 +565,9 @@
field: 'divider-others', field: 'divider-others',
component: 'Divider', component: 'Divider',
label: '其它', label: '其它',
colProps: {
span: 24,
},
}, },
{ {
field: 'field20', field: 'field20',
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
const tableRef = ref<{ getDataSource: () => any } | null>(null); const tableRef = ref<{ getDataSource: () => any } | null>(null);
const [register, { validate }] = useForm({ const [register, { validate }] = useForm({
layout: 'vertical',
baseColProps: { baseColProps: {
span: 6, span: 6,
}, },
...@@ -42,6 +43,7 @@ ...@@ -42,6 +43,7 @@
}); });
const [registerTask, { validate: validateTaskForm }] = useForm({ const [registerTask, { validate: validateTaskForm }] = useForm({
layout: 'vertical',
baseColProps: { baseColProps: {
span: 6, span: 6,
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册