diff --git a/examples/sites/demos/pc/app/transfer/nested-tree-composition-api.vue b/examples/sites/demos/pc/app/transfer/nested-tree-composition-api.vue
index 4e4658ea0b..66edea28bc 100644
--- a/examples/sites/demos/pc/app/transfer/nested-tree-composition-api.vue
+++ b/examples/sites/demos/pc/app/transfer/nested-tree-composition-api.vue
@@ -74,6 +74,7 @@ const treeData = ref([
}
])
const treeConfig = ref({
+ showLine: true,
showCheckbox: true,
nodeKey: 'id',
checkStrictly: true,
diff --git a/examples/sites/demos/pc/app/transfer/nested-tree.vue b/examples/sites/demos/pc/app/transfer/nested-tree.vue
index e8c2ea59af..a81fb2608c 100644
--- a/examples/sites/demos/pc/app/transfer/nested-tree.vue
+++ b/examples/sites/demos/pc/app/transfer/nested-tree.vue
@@ -79,6 +79,7 @@ export default {
}
],
treeConfig: {
+ showLine: true,
showCheckbox: true,
nodeKey: 'id',
checkStrictly: true,
diff --git a/packages/theme/src/transfer/index.less b/packages/theme/src/transfer/index.less
index 23c7afb4cb..bfc8f6fee4 100644
--- a/packages/theme/src/transfer/index.less
+++ b/packages/theme/src/transfer/index.less
@@ -112,6 +112,8 @@
i,
span {
font-size: var(--ti-transfer-font-size);
+ transform: translateY(-3px); // 适配 xdesign, 让span居中
+ display: inline-block;
}
[class*='tiny-icon'] + span {
diff --git a/packages/vue/src/transfer-panel/src/pc.vue b/packages/vue/src/transfer-panel/src/pc.vue
index 97b47c80cd..b153d79d0d 100644
--- a/packages/vue/src/transfer-panel/src/pc.vue
+++ b/packages/vue/src/transfer-panel/src/pc.vue
@@ -70,9 +70,10 @@
-
+