From d22c32d364dc5903cb0ca26525b3c8c63365684b Mon Sep 17 00:00:00 2001 From: James <72028410+James-9696@users.noreply.github.com> Date: Tue, 15 Oct 2024 23:36:44 -0700 Subject: [PATCH] fix(tabs): [tabs] modify tabs demo bug (#2274) * fix: modify tabs bug * fix: modify e2e-test --- .../demos/pc/app/tabs/basic-usage-composition-api.vue | 2 +- examples/sites/demos/pc/app/tabs/basic-usage.spec.ts | 11 ++++++++--- examples/sites/demos/pc/app/tabs/basic-usage.vue | 2 +- .../pc/app/tabs/tabs-separator-composition-api.vue | 2 +- examples/sites/demos/pc/app/tabs/tabs-separator.vue | 2 +- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/examples/sites/demos/pc/app/tabs/basic-usage-composition-api.vue b/examples/sites/demos/pc/app/tabs/basic-usage-composition-api.vue index fdf506ef94..0e53e814fb 100644 --- a/examples/sites/demos/pc/app/tabs/basic-usage-composition-api.vue +++ b/examples/sites/demos/pc/app/tabs/basic-usage-composition-api.vue @@ -13,7 +13,7 @@ import { ref } from 'vue' import { Tabs as TinyTabs, TabItem as TinyTabItem } from '@opentiny/vue' -const activeName = ref('second') +const activeName = ref('first')