diff --git a/src/packages/tabpane/tabpane.taro.tsx b/src/packages/tabpane/tabpane.taro.tsx
index 8ed23089a7..3fdcbfc0da 100644
--- a/src/packages/tabpane/tabpane.taro.tsx
+++ b/src/packages/tabpane/tabpane.taro.tsx
@@ -38,7 +38,5 @@ export const TabPane: FunctionComponent<
className
)
- return children ? (
-
Tab 1
-Tab 1
-Tab 1
-Tab 1
-Tab 1
-Tab 1
-Tab 1
-Tab 1
-Tab 1
+Tab longitem
+Tab longitem
+Tab longitem
+Tab longitem
+Tab longitem
+Tab longitem
+Tab longitem
+Tab longitem
+Tab longitem
Tab 2
diff --git a/src/packages/tabs/demos/h5/demo14.tsx b/src/packages/tabs/demos/h5/demo14.tsx index 63ad8f3db1..88c81d7056 100644 --- a/src/packages/tabs/demos/h5/demo14.tsx +++ b/src/packages/tabs/demos/h5/demo14.tsx @@ -12,11 +12,11 @@ const Demo14 = () => { setTabvalue(value) }} > -Tab 1
-Tab 1
-Tab 1
-Tab 1
+Tab longitem
+Tab longitem
+Tab longitem
+Tab longitem