From 0ef8a0d016b2732a98f3075cb1279da07ebf7eb1 Mon Sep 17 00:00:00 2001 From: zhenyulei Date: Mon, 2 Mar 2020 11:45:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtab=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E4=B8=AD=E6=95=B0=E6=8D=AE=E6=9B=B4=E6=96=B0=E4=B8=8D=E6=B8=B2?= =?UTF-8?q?=E6=9F=93=E9=A1=B5=E9=9D=A2=E7=9A=84=E9=97=AE=E9=A2=98=20#215?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/packages/tab/demo.vue | 79 ++++++++++++++++++++++++++++++++-- src/packages/tab/doc.md | 90 ++++++++++++++++++++++++++++++++------- src/packages/tab/tab.vue | 19 ++++++--- 3 files changed, 164 insertions(+), 24 deletions(-) diff --git a/src/packages/tab/demo.vue b/src/packages/tab/demo.vue index 3225f3215e..be9b838d2b 100644 --- a/src/packages/tab/demo.vue +++ b/src/packages/tab/demo.vue @@ -2,6 +2,12 @@

默认用法

+ + 页签1 + 页签2 + 页签3 + +

支持导航条在上下左右位置

- -

支持导航条在上下左右位置

禁止选中,默认选中某个标签

- +

如需要更新页面,请将监听变化的数据传入init-data

+ + +
+ + +