张同海 2 years ago
commit 0cf03912cc

@ -9,16 +9,16 @@
<a-spin :spinning="confirmLoading">
<a-form :form="form">
<a-form-item label="代码" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-input placeholder="请输入代码" v-decorator="['code']" />
<a-input placeholder="请输入代码" v-decorator="['code', { rules: [{ required: true, message: '' }] }]" />
</a-form-item>
<a-form-item label="说明" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-input placeholder="请输入说明" v-decorator="['desp']" />
</a-form-item>
<a-form-item label="Url" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-input placeholder="请输入Url" v-decorator="['url']" />
<a-input placeholder="请输入Url" v-decorator="['url', { rules: [{ required: true, message: 'Url' }] }]" />
</a-form-item>
<a-form-item label="关键" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-input placeholder="请输入关键" v-decorator="['keyword']" />
<a-form-item label="关键" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-input placeholder="请输入关键" v-decorator="['keyword', { rules: [{ required: true, message: '' }] }]" />
</a-form-item>
</a-form>
</a-spin>

Loading…
Cancel
Save