ant-design-vue/components/grid/demo/sort.vue

27 lines
436 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<docs>
---
order: 3
title:
zh-CN: 栅格排序
en-US: Grid sort
---
## zh-CN
列排序
通过使用 `push` `pull` 类就可以很容易的改变列column的顺序
## en-US
By using `push` and `pull` class you can easily change column order.
</docs>
<template>
<a-row>
<a-col :span="18" :push="6">col-18 col-push-6</a-col>
<a-col :span="6" :pull="18">col-6 col-pull-18</a-col>
</a-row>
</template>