my_item.vue 404 Bytes
Newer Older
陈浩玮's avatar
陈浩玮 committed
1 2 3
<template>
    <a-col v-bind="span">
        <a-form-model-item v-bind="layout">
水落(YangLei)'s avatar
水落(YangLei) committed
4
            <slot class="tw-w-full" />
陈浩玮's avatar
陈浩玮 committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18
        </a-form-model-item>
    </a-col>
</template>

<script>
export default {
    data() {
        return {
            span: { xs: 24, sm: 24, lg: 12, xl: 6 },
            layout: { labelCol: { span: 5 }, wrapperCol: { span: 19 }, ...this.$attrs },
        };
    },
};
</script>