Skip to content

Commit b905d50

Browse files
feature: 帮助页面数据,添加tip属性,鼠标移上去可以查看。
1 parent 2455224 commit b905d50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/gui/src/view/components/tree-node.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ export default {
1515
<template>
1616
<ul>
1717
<li v-for="node in treeData" :key="node.title">
18-
<span v-if="node.url && (node.url.startsWith('http://') || node.url.startsWith('https://'))" :title="node.title">
18+
<span v-if="node.url && (node.url.startsWith('http://') || node.url.startsWith('https://'))" :title="node.tip || node.title">
1919
<a @click="openExternal(node.url)">{{ node.title }}</a>
2020
</span>
21-
<span v-else :title="node.title">{{ node.title }}</span>
21+
<span v-else :title="node.tip || node.title">{{ node.title }}</span>
2222
<tree-node v-if="node.children && node.children.length > 0" :tree-data="node.children" class="child-node" />
2323
</li>
2424
</ul>

0 commit comments

Comments
 (0)