From 243090863e6f5fdf6e8431263ef1f4f40c3fc705 Mon Sep 17 00:00:00 2001 From: Gavin Date: Wed, 25 Oct 2023 20:22:33 +0800 Subject: [PATCH] fix(Tab): keep docs and example the same (#12395) --- packages/vant/src/tab/README.md | 2 +- packages/vant/src/tab/README.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vant/src/tab/README.md b/packages/vant/src/tab/README.md index 9cc5f5a57..ef46f81bf 100644 --- a/packages/vant/src/tab/README.md +++ b/packages/vant/src/tab/README.md @@ -57,7 +57,7 @@ import { ref } from 'vue'; export default { setup() { - const activeName = ref('a'); + const activeName = ref('b'); return { activeName }; }, }; diff --git a/packages/vant/src/tab/README.zh-CN.md b/packages/vant/src/tab/README.zh-CN.md index 89e0dae1c..beccba8de 100644 --- a/packages/vant/src/tab/README.zh-CN.md +++ b/packages/vant/src/tab/README.zh-CN.md @@ -60,7 +60,7 @@ import { ref } from 'vue'; export default { setup() { - const activeName = ref('a'); + const activeName = ref('b'); return { activeName }; }, };