From 7c5c723ac375b113e31b3ba86be53cc16e6ff2a0 Mon Sep 17 00:00:00 2001
From: kylin <260987762@qq.com>
Date: Mon, 25 Nov 2024 18:18:46 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtabs=20=E5=92=8C=E5=88=A0?=
=?UTF-8?q?=E9=99=A4=E5=A4=9A=E4=BD=99=E5=BC=95=E7=94=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
docs/cn/other/components/DemoProTabs2.vue | 27 ---------
docs/cn/other/tabs.md | 2 -
.../src/components/ProBreadcrumb.vue | 2 +-
.../src/components/ProCheckbox.vue | 2 +-
.../k-naiveui-pro/src/components/ProTabs.vue | 58 +++++++++----------
5 files changed, 31 insertions(+), 60 deletions(-)
delete mode 100644 docs/cn/other/components/DemoProTabs2.vue
diff --git a/docs/cn/other/components/DemoProTabs2.vue b/docs/cn/other/components/DemoProTabs2.vue
deleted file mode 100644
index de63cd5..0000000
--- a/docs/cn/other/components/DemoProTabs2.vue
+++ /dev/null
@@ -1,27 +0,0 @@
-
----
-title: 自定义 `storageKey`
----
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/cn/other/tabs.md b/docs/cn/other/tabs.md
index c421cf5..b890ced 100644
--- a/docs/cn/other/tabs.md
+++ b/docs/cn/other/tabs.md
@@ -4,14 +4,12 @@
-
## **属性 (Props)**
| 参数 | 类型 | 默认值 | 描述 |
|----------------|----------------|-------------|--------------------------------|
| **v-model** | `ProTabData[]` | `[]` | 绑定的标签页数据数组,使用 `v-model` 进行双向绑定 |
-| **storageKey** | `string` | `'proTabs'` | 本地存储的键名,用于保存标签页数据和选中状态 |
## **ProTabData 配置**
diff --git a/packages/k-naiveui-pro/src/components/ProBreadcrumb.vue b/packages/k-naiveui-pro/src/components/ProBreadcrumb.vue
index fd3d7e9..a8e6c07 100644
--- a/packages/k-naiveui-pro/src/components/ProBreadcrumb.vue
+++ b/packages/k-naiveui-pro/src/components/ProBreadcrumb.vue
@@ -1,5 +1,5 @@
handleSelect(index)"
+ @click="() => handleSelect(index)"
@wheel="horizontalScroll"
>
{{ tab.title }}
-
+
+