```
<div v-for="(item, index) intemp.templateValue" :key="index">
? <el-form-item v-if="0===index" :label="$t('模板內(nèi)容值')" :prop="item" :rules="{required: true,message: `${item}不能為空`,trigger: 'blur'}" required>
? ? <el-input v-model="temp[item]" :placeholder = "`請輸入${item}內(nèi)容`" type="text" style="width: 300px;display: block"/>
? <el-form-item v-else :prop="item" :rules="{required: true,message: `${item}內(nèi)容不能為空`,trigger: 'blur'}" required>
? ? <el-input v-model="temp[item]" :placeholder = "`請輸入${item}內(nèi)容`" :rules="{required: true,message: `${item}不能為空`,trigger: 'blur'}" type="text" style="width: 300px;display: block"/>
</div>
```