<Form :model="configMode" inline :label-width="configAll ? configAll.labelWidth : 80">
<template v-for="(items, index) in configData">
<template v-if="items.cut === "input"" >
<FormItem :label="items.label" :label-width="items.labelWidth" :key="index" >
<Input v-model="configMode[items.model]" :placeholder="items.placeholder" :style="`width:${items.width || configAll.width}px`"></Input>
</FormItem>
</template>
<template v-if="items.cut === "select"">
<FormItem :label="items.label" :label-width="items.labelWidth" :key="index">
<Select v-model="configMode[items.model]" :placeholder="items.placeholder" :style="`width:${items.width || configAll.width}px`">
<Option v-for="(option, ops) in items.options" :value="option.value" :key="ops+ "o"">{{option.label}}</Option>
</Select>
</FormItem>
</template>
<template v-if="items.cut === "picker"">
<FormItem :label="items.label" :label-width="items.labelWidth" :key="index">
<DatePicker
vMurmodel = "configMode [items.model]" as long as you add this sentence, you will get an error
.
:type="items.type"
:start-date = "new Date()"
:format="items.format"
:placeholder="items.placeholder"
:style="`width:${items.width || configAll.width}px`">
</DatePicker>
</FormItem>
</template>
<template v-if="items.cut === "button"">
<template v-for="(item, indexs) in items.buttonArr">
<FormItem :label-width="items.labelWidth || 40" :key="indexs + item.text">
<Button :type="item.type || "primary"" @click="ventBus(item.evenName, configMode, item.attr)">{{item.text}}</Button>
</FormItem>
</template>
</template>
</template>
</Form>
error is as follows
Error in render: "TypeError: date.getFullYear is not a function"
date.getFullYear is not a function