Merge pull request #844 from yyri/master

<a-form-item> should be nested under <a-col>
pull/1025/head
JEECG开源社区 2020-01-13 11:47:00 +08:00 committed by GitHub
commit ed83135062
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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-cascader :options="areaOptions" @change="onChange" :showSearch="{filter}" placeholder="Please select" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-form-item :wrapperCol="{ span: 12, offset: 5 }"> <a-col :md="24" :sm="24">
<a-col :md="24" :sm="24"> <a-form-item :wrapperCol="{ span: 12, offset: 5 }">
<a-button type="primary" htmlType="submit">Submit</a-button> <a-button type="primary" htmlType="submit">Submit</a-button>
</a-col> </a-form-item>
</a-form-item> </a-col>
</a-form> </a-form>
</a-card> </a-card>
</template> </template>
@ -68,4 +68,4 @@
}) })
} }
} }
</script> </script>