？<template>
    <layout-form>
        <el-form :model="form" :loading="loading" :rules="rules" size='small' style="width:100%" label-width='120px' ref="form">
            <el-row>
                                    <Field label="测试demo表id" prop="demoId" v-model="form.demoId" placeholder="请输入测试demo表id"/>
                        <Field label="浮点值" prop="number" v-model="form.number" placeholder="请输入浮点值"/>
                        <Field label="详细" prop="detail" v-model="form.detail" placeholder="请输入详细"/>
            </el-row>
            <form-buttons @submit='submitForm'/>
        </el-form>
    </layout-form>
</template>

<script>
    import form from "@/assets/mixins/form";
    export default {
        mixins: [form],
        toString:[
        ],
        data() {
            return {
                rules: {
                    demoId: [
                        { trigger: "blur" },
                    ],
                    detail: [
                        { trigger: "blur" },
                    ],
                }
            };
        }
    };
</script>