|
|
@ -7,7 +7,7 @@ export default { |
|
|
|
}, |
|
|
|
name: "AppForm", |
|
|
|
template: html`<div v-loading="loading">
|
|
|
|
<el-form ref="formRef" :model="model" label-width="auto" :inline="inline"> |
|
|
|
<el-form ref="formRef" :model="model" label-width="auto" :inline="inline" @keyup.enter.native="submit"> |
|
|
|
<template v-if="schema && schema.properties"> |
|
|
|
<template v-for="(value, prop) in getProperties(schema.properties)"> |
|
|
|
<app-form-item :parentSchema="schema" :schema="value" v-model="model" :prop="prop" :mode="mode" :errors="errors" /> |
|
|
|