Skip to content

Commit c358223

Browse files
committed
online demo
1 parent 17c4ccc commit c358223

File tree

5 files changed

+3
-124
lines changed

5 files changed

+3
-124
lines changed

README-CN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
## [文档 & 示例](https://lychub.github.io/vue-virtual-tree)
77
### [在线demo](https://stackblitz.com/edit/vue-virtual-tree-demos?file=src/App.vue)
8+
### [在线demo v4](https://stackblitz.com/edit/vue-virtual-tree-demos-bvicgw?file=src/App.vue)
89

910
## 基本使用
1011

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ English & [简体中文](README-CN.md)
66

77
## [Docs & Demo](https://lychub.github.io/vue-virtual-tree)
88
### [online demo](https://stackblitz.com/edit/vue-virtual-tree-demos?file=src/App.vue)
9+
### [online demo v4](https://stackblitz.com/edit/vue-virtual-tree-demos-bvicgw?file=src/App.vue)
910

1011

1112
## How to use

src/App.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<a-anchor-link href="#async-dada-demo" title="异步加载" />
1414
<a-anchor-link href="#custom-node-demo" title="自定义渲染节点" />
1515
<a-anchor-link href="#custom-icon-demo" title="自定义图标" />
16-
<a-anchor-link href="#search-node-demo" title="搜索树" />
1716
<a-anchor-link href="#api" title="API" />
1817
</a-anchor>
1918
</a-layout-content>

src/doc/SearchNodeDemo.vue

Lines changed: 0 additions & 114 deletions
This file was deleted.

src/doc/index.vue

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,6 @@
7676
code-type="customNode">
7777
<custom-node-demo />
7878
</demo-box>
79-
<demo-box
80-
id="search-node-demo"
81-
title="搜索树"
82-
desc="虽然组件内部没有直接提供,但可以配合render自行实现"
83-
code-type="searchNode">
84-
<search-node-demo />
85-
</demo-box>
8679
</a-col>
8780
</a-row>
8881
</section>
@@ -117,12 +110,11 @@
117110
import AsyncDataDemo from './AsyncDataDemo.vue';
118111
import CustomNodeDemo from './CustomNodeDemo.vue';
119112
import CustomIconDemo from './CustomIconDemo.vue';
120-
import SearchNodeDemo from './SearchNodeDemo.vue';
121113
import { columns, eventData, methodColumns, methodData, nodeOptionData, propData } from './tableData';
122114
123115
export default defineComponent({
124116
name: 'DocContainer',
125-
components: { DemoBox, BaseDemo, CheckboxDemo, AsyncDataDemo, CustomNodeDemo, CustomIconDemo, SearchNodeDemo },
117+
components: { DemoBox, BaseDemo, CheckboxDemo, AsyncDataDemo, CustomNodeDemo, CustomIconDemo },
126118
setup() {
127119
const rowClsName = (_: any, index: number) => ([5, 6, 7, 8].includes(index) ? 'table-row-abandoned' : null);
128120

0 commit comments

Comments
 (0)