diff --git a/components/tabs/__tests__/__snapshots__/demo.test.js.snap b/components/tabs/__tests__/__snapshots__/demo.test.js.snap index 62a27cc78..afb9d8148 100644 --- a/components/tabs/__tests__/__snapshots__/demo.test.js.snap +++ b/components/tabs/__tests__/__snapshots__/demo.test.js.snap @@ -422,45 +422,43 @@ exports[`renders ./components/tabs/demo/icon.vue correctly 1`] = ` `; exports[`renders ./components/tabs/demo/position.vue correctly 1`] = ` -
-
-
-
- -
-
-
- - -
-
- - -
-
- - -
+
+
+
+ +
+
+
+ + +
+
+ + +
+
+ -
-
-
- +
- +
+
+
-
-
-
Content of Tab 1
- - + + +
+
+
+
Content of Tab 1
+ +
diff --git a/components/tabs/demo/position.vue b/components/tabs/demo/position.vue index ac82e13c0..666762813 100644 --- a/components/tabs/demo/position.vue +++ b/components/tabs/demo/position.vue @@ -8,28 +8,26 @@ title: ## zh-CN -有四个位置,`tabPosition="left|right|top|bottom"`。 +有四个位置,`tabPosition="left|right|top|bottom"`。在移动端下,`bottom|right` 会自动切换成 `top`。 ## en-US -Tab's position: left, right, top or bottom. +Tab's position: left, right, top or bottom. Will auto switch to `top` in mobile.