Skip to content

Commit 58370d2

Browse files
author
黄书伟
committed
实例优化
1 parent 7179c11 commit 58370d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/doc/table/sort-by-multiple-columns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:::demo 通过设置 `multiple-sort``true` 开启单个字段进行排序
1+
:::demo 通过设置 `multiple-sort``true` 开启单个字段进行排序;<br>通过设置属性`sort-always`允许排序只在升序和降序切换;<br> 通过传入`sort-change`回调函数,获取当前排序的字段,将排序结果重新赋值`table-data`达到排序的目的;
22
```html
33
<template>
44
<div>

examples/doc/table/sort-by-single-columns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
:::demo 通过设置 `multiple-sort``false` 开启单个字段进行排序
2+
:::demo 通过设置 `multiple-sort``false` 开启单个字段进行排序;<br>通过设置属性`sort-always`允许排序只在升序和降序切换;;<br> 通过传入`sort-change`回调函数,获取当前排序的字段,将排序结果重新赋值`table-data`达到排序的目的;
33
```html
44
<template>
55
<div>

0 commit comments

Comments
 (0)