diff --git a/packages/ui/back-top/stories/basic.stories.tsx b/packages/ui/back-top/stories/basic.stories.tsx
index 01358870b..2561604c8 100644
--- a/packages/ui/back-top/stories/basic.stories.tsx
+++ b/packages/ui/back-top/stories/basic.stories.tsx
@@ -1,4 +1,6 @@
import React from 'react'
+import Tooltip from '@hi-ui/tooltip'
+import { ArrowUpOutlined } from '@hi-ui/icons'
import BackTop from '../src'
/**
@@ -27,7 +29,24 @@ export const Basic = () => {
-
+
+
+
+
+
>
)
}
diff --git a/packages/ui/table/stories/col-menu.stories.tsx b/packages/ui/table/stories/col-menu.stories.tsx
index 62e41e273..787012755 100644
--- a/packages/ui/table/stories/col-menu.stories.tsx
+++ b/packages/ui/table/stories/col-menu.stories.tsx
@@ -18,7 +18,7 @@ export const ColMenu = () => {
key: 2,
width: 80,
sorter(pre, next) {
- return pre.age - next.age
+ return pre.raw.age - next.raw.age
},
},
{
diff --git a/packages/ui/table/stories/custom-filter.stories.tsx b/packages/ui/table/stories/custom-filter.stories.tsx
index cc2bf4a06..fda28f460 100644
--- a/packages/ui/table/stories/custom-filter.stories.tsx
+++ b/packages/ui/table/stories/custom-filter.stories.tsx
@@ -52,7 +52,7 @@ export const CustomFilter = () => {
key: 2,
width: 80,
sorter(pre, next) {
- return pre.age - next.age
+ return pre.raw.age - next.raw.age
},
},
{
diff --git a/packages/ui/table/stories/setting-drawer.stories.tsx b/packages/ui/table/stories/setting-drawer.stories.tsx
index c586f94d5..90793432b 100644
--- a/packages/ui/table/stories/setting-drawer.stories.tsx
+++ b/packages/ui/table/stories/setting-drawer.stories.tsx
@@ -1,11 +1,11 @@
import React from 'react'
import Button from '@hi-ui/button'
-import Table, { SettingDrawer as TableSettingDrawer } from '../src'
+import Table, { SettingDrawer } from '../src'
/**
* @title 设置抽屉
*/
-export const SettingDrawer = () => {
+export const TableSettingDrawer = () => {
const [dataSource] = React.useState([
{
name: '小米9',
@@ -253,7 +253,7 @@ export const SettingDrawer = () => {
- setVisible(false)}
drawerProps={{ width: 400, title: '字段设置' }}
diff --git a/packages/ui/table/stories/virtual.stories.tsx b/packages/ui/table/stories/virtual.stories.tsx
index 7c9a78c71..b7e6c40fa 100644
--- a/packages/ui/table/stories/virtual.stories.tsx
+++ b/packages/ui/table/stories/virtual.stories.tsx
@@ -49,7 +49,7 @@ export const Virtual = () => {
return (
<>
Width for Table
-