修改订阅按钮

This commit is contained in:
辉鸭蛋
2024-11-03 15:59:31 +08:00
parent 7d4797309d
commit 5dd957f87a

View File

@@ -27,12 +27,14 @@
@select="(selectedKeys, event) => handleTreeSelect(selectedKeys, event, category.name)" @select="(selectedKeys, event) => handleTreeSelect(selectedKeys, event, category.name)"
> >
<template #extra="nodeData"> <template #extra="nodeData">
<a-tooltip content="点击订阅目录"> <a-button
<IconCopy type="text"
style="position: absolute; right: 8px; font-size: 14px; top: 10px; color: #3370ff; cursor: pointer;" size="mini"
@click.stop="() => onTreeIconClick(nodeData)" style="position: absolute; right: 8px; top: 6px; color: #3370ff;"
/> @click.stop="() => onTreeIconClick(nodeData)"
</a-tooltip> >
订阅
</a-button>
</template> </template>
</a-tree> </a-tree>
</a-col> </a-col>