mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-14 18:11:48 +08:00
docs(components): [tree] custom node content button margin (#8539)
This commit is contained in:
@ -22,7 +22,7 @@
|
||||
<span>{{ node.label }}</span>
|
||||
<span>
|
||||
<a @click="append(data)"> Append </a>
|
||||
<a @click="remove(node, data)"> Delete </a>
|
||||
<a style="margin-left: 8px" @click="remove(node, data)"> Delete </a>
|
||||
</span>
|
||||
</span>
|
||||
</template>
|
||||
@ -89,6 +89,7 @@ const renderContent = (
|
||||
h(
|
||||
'a',
|
||||
{
|
||||
style: 'margin-left: 8px',
|
||||
onClick: () => remove(node, data),
|
||||
},
|
||||
'Delete'
|
||||
|
Reference in New Issue
Block a user