<a-form-item> should be nested under <a-col>

pull/5714/head
Yancy 2019-12-26 11:11:12 +08:00 committed by GitHub
parent b42f9512eb
commit 2076be339a
1 changed files with 6 additions and 6 deletions

View File

@ -19,11 +19,11 @@
<a-cascader :options="areaOptions" @change="onChange" :showSearch="{filter}" placeholder="Please select" />
</a-form-item>
</a-col>
<a-form-item :wrapperCol="{ span: 12, offset: 5 }">
<a-col :md="24" :sm="24">
<a-form-item :wrapperCol="{ span: 12, offset: 5 }">
<a-button type="primary" htmlType="submit">Submit</a-button>
</a-col>
</a-form-item>
</a-col>
</a-form>
</a-card>
</template>