|
@@ -236,7 +236,7 @@ function renderFrom(h) {
|
|
ref={formConfCopy.formRef}
|
|
ref={formConfCopy.formRef}
|
|
// model不能直接赋值 https://github.com/vuejs/jsx/issues/49#issuecomment-472013664
|
|
// model不能直接赋值 https://github.com/vuejs/jsx/issues/49#issuecomment-472013664
|
|
props={{ model: this[formConfCopy.formModel] }}
|
|
props={{ model: this[formConfCopy.formModel] }}
|
|
- rules={this[formConfCopy.formRules]}
|
|
|
|
|
|
+ rules={this[formConfCopy.formRules]} class={this.detailType === 'detail' ? 'detailForm' : ''}
|
|
>
|
|
>
|
|
<el-row gutter={formConfCopy.gutter} class={formConfCopy.formStyle} type="flex" style="flex-wrap:wrap">
|
|
<el-row gutter={formConfCopy.gutter} class={formConfCopy.formStyle} type="flex" style="flex-wrap:wrap">
|
|
{renderFormItem.call(this, h, formConfCopy.fields)}
|
|
{renderFormItem.call(this, h, formConfCopy.fields)}
|