Skip to content

Commit b07882d

Browse files
committed
doc: add surely-vue
1 parent 5398550 commit b07882d

File tree

3 files changed

+51
-3
lines changed

3 files changed

+51
-3
lines changed

components/table/demo/big-data.vue

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<docs>
2+
---
3+
order: 0
4+
title:
5+
en-US: Virtualized Table
6+
zh-CN: 大数据渲染
7+
---
8+
9+
## zh-CN
10+
11+
该示例使用高级组件 [Surely Vue](https://www.surely.cool) 进行开发,Surely Vue 是 Ant Design Vue 旗下的高级组件,
12+
该组件致力于解决大数据渲染、图表集成等复杂高频问题。 使用该组件可以流畅滚动 10 万行、10 万列的数据,你不必担心页面卡顿造成用户投诉,进而影响业务进展。
13+
14+
## en-US
15+
16+
This example uses advanced components [Surely Vue](https://www.surely.cool) for development.
17+
This component is dedicated to solving complex high-frequency issues such as big data rendering and chart integration.
18+
Using this component, you can smoothly scroll through 100,000 rows and 100,000 columns of data.
19+
</docs>
20+
21+
<template>
22+
<iframe src="https://www.surely.cool/for-ant-demo" height="400" />
23+
<div v-if="false">
24+
you can visit
25+
<a href="https://www.surely.cool" />
26+
get more info
27+
</div>
28+
</template>

components/table/demo/index.vue

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<Stripe />
2828
<Summary />
2929
<TemplateCom />
30+
<bigData />
3031
</demo-sort>
3132
</template>
3233

@@ -59,6 +60,7 @@ import MultipleSorter from './multiple-sorter.vue';
5960
import Summary from './summary.vue';
6061
import Sticky from './sticky.vue';
6162
import ResizableColumn from './resizable-column.vue';
63+
import bigData from './big-data.vue';
6264
import CN from '../index.zh-CN.md';
6365
import US from '../index.en-US.md';
6466
import { defineComponent } from '@vue/runtime-core';
@@ -94,6 +96,7 @@ export default defineComponent({
9496
Summary,
9597
Sticky,
9698
ResizableColumn,
99+
bigData,
97100
},
98101
});
99102
</script>

site/src/layouts/header/Navigation.vue

+20-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
<template>
2-
<a-menu id="nav" class="menu-site" :mode="menuMode" :selected-keys="[activeMenuItem]">
2+
<a-menu
3+
id="nav"
4+
class="menu-site"
5+
:mode="menuMode"
6+
:selected-keys="[activeMenuItem]"
7+
disabled-overflow
8+
>
39
<a-menu-item key="docs/vue">
410
<router-link :to="getLocalizedPathname('/docs/vue/introduce', isZhCN)">
511
{{ $t('app.header.menu.documentation') }}
@@ -10,6 +16,17 @@
1016
{{ $t('app.header.menu.components') }}
1117
</router-link>
1218
</a-menu-item>
19+
<a-menu-item v-if="isZhCN" key="surely-vue">
20+
<a
21+
href="https://www.surely.cool"
22+
target="_blank"
23+
rel="noopener noreferrer"
24+
style="position: relative"
25+
>
26+
高级组件
27+
<a-badge color="red" style="position: absolute; top: -35px; right: -15px" />
28+
</a>
29+
</a-menu-item>
1330
<a-menu-item key="store">
1431
<a
1532
href="https://store.antdv.com/pro/"
@@ -18,7 +35,7 @@
1835
style="position: relative"
1936
>
2037
{{ $t('app.header.menu.store') }}
21-
<a-badge color="red" style="position: absolute; top: -35px; right: -15px" />
38+
<!-- <a-badge color="red" style="position: absolute; top: -35px; right: -15px" /> -->
2239
</a>
2340
</a-menu-item>
2441
<a-menu-item v-if="isZhCN" key="geektime">
@@ -29,7 +46,7 @@
2946
style="position: relative"
3047
>
3148
实战课程
32-
<a-badge color="red" style="position: absolute; top: -35px; right: -15px" />
49+
<!-- <a-badge color="red" style="position: absolute; top: -35px; right: -15px" /> -->
3350
</a>
3451
</a-menu-item>
3552
<template v-if="isMobile">

0 commit comments

Comments
 (0)