From 6180ec7b7c371c906d87d726f18e9bdae83b3814 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B3=E5=90=9B=E5=81=A5?= <40288193@qq.com> Date: Sat, 2 Nov 2024 22:51:42 +0800 Subject: [PATCH] fix(tree): [button,tree] update tree demos and the plain button's border color (#2470) * fix(tree): fix tree's demo, modify delete popover's button to mini * fix(button): fix the plain button's border color --- .../demos/pc/app/tree/basic-usage-composition-api.vue | 3 --- examples/sites/demos/pc/app/tree/basic-usage.vue | 3 --- .../sites/demos/pc/app/tree/edit-composition-api.vue | 9 +-------- examples/sites/demos/pc/app/tree/edit.vue | 9 +-------- .../sites/demos/pc/app/tree/other-composition-api.vue | 2 +- examples/sites/demos/pc/app/tree/other.vue | 2 +- .../sites/demos/pc/app/tree/slot-composition-api.vue | 6 +++--- examples/sites/demos/pc/app/tree/slot.vue | 6 +++--- packages/theme/src/button/vars.less | 10 +++++----- packages/vue/src/tree/src/pc.vue | 4 ++-- 10 files changed, 17 insertions(+), 37 deletions(-) diff --git a/examples/sites/demos/pc/app/tree/basic-usage-composition-api.vue b/examples/sites/demos/pc/app/tree/basic-usage-composition-api.vue index 4818f75ebd..3bbc76fe31 100644 --- a/examples/sites/demos/pc/app/tree/basic-usage-composition-api.vue +++ b/examples/sites/demos/pc/app/tree/basic-usage-composition-api.vue @@ -76,7 +76,4 @@ function nodeClick(data, node, vm) { margin-top: 16px; margin-bottom: 16px; } -.option-row > span { - font-size: 18px; -} diff --git a/examples/sites/demos/pc/app/tree/basic-usage.vue b/examples/sites/demos/pc/app/tree/basic-usage.vue index 48068f2867..ea051c5311 100644 --- a/examples/sites/demos/pc/app/tree/basic-usage.vue +++ b/examples/sites/demos/pc/app/tree/basic-usage.vue @@ -88,7 +88,4 @@ export default { margin-top: 16px; margin-bottom: 16px; } -.option-row > span { - font-size: 18px; -} diff --git a/examples/sites/demos/pc/app/tree/edit-composition-api.vue b/examples/sites/demos/pc/app/tree/edit-composition-api.vue index 9c23e17eef..b6264aae94 100644 --- a/examples/sites/demos/pc/app/tree/edit-composition-api.vue +++ b/examples/sites/demos/pc/app/tree/edit-composition-api.vue @@ -8,14 +8,7 @@ 编辑节点 5s后保存节点

- + diff --git a/examples/sites/demos/pc/app/tree/edit.vue b/examples/sites/demos/pc/app/tree/edit.vue index 769e9e96ae..88d2774bc4 100644 --- a/examples/sites/demos/pc/app/tree/edit.vue +++ b/examples/sites/demos/pc/app/tree/edit.vue @@ -8,14 +8,7 @@ 编辑节点 5s后保存节点

- + diff --git a/examples/sites/demos/pc/app/tree/other-composition-api.vue b/examples/sites/demos/pc/app/tree/other-composition-api.vue index ce8ce1957e..52da34ec1c 100644 --- a/examples/sites/demos/pc/app/tree/other-composition-api.vue +++ b/examples/sites/demos/pc/app/tree/other-composition-api.vue @@ -5,7 +5,7 @@
提示:非手风琴模式,自定义自动勾选的内容
- + diff --git a/examples/sites/demos/pc/app/tree/other.vue b/examples/sites/demos/pc/app/tree/other.vue index ff31748936..6d94e69cd1 100644 --- a/examples/sites/demos/pc/app/tree/other.vue +++ b/examples/sites/demos/pc/app/tree/other.vue @@ -5,7 +5,7 @@
提示:非手风琴模式,自定义自动勾选的内容
- + diff --git a/examples/sites/demos/pc/app/tree/slot-composition-api.vue b/examples/sites/demos/pc/app/tree/slot-composition-api.vue index 05bd499a4e..efd8cfb6da 100644 --- a/examples/sites/demos/pc/app/tree/slot-composition-api.vue +++ b/examples/sites/demos/pc/app/tree/slot-composition-api.vue @@ -13,7 +13,7 @@