mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-06 17:59:11 +00:00
feat: add peer_id in MyNodeInfo (#1821)
This commit is contained in:
@@ -183,6 +183,12 @@ const myNodeInfoChips = computed(() => {
|
||||
if (!my_node_info)
|
||||
return chips
|
||||
|
||||
// peer id
|
||||
chips.push({
|
||||
label: `Peer ID: ${my_node_info.peer_id}`,
|
||||
icon: '',
|
||||
} as Chip)
|
||||
|
||||
// TUN Device Name
|
||||
const dev_name = props.curNetworkInst.detail?.dev_name
|
||||
if (dev_name) {
|
||||
|
||||
@@ -204,6 +204,7 @@ export interface NodeInfo {
|
||||
stun_info: StunInfo
|
||||
listeners: Url[]
|
||||
vpn_portal_cfg?: string
|
||||
peer_id: number
|
||||
}
|
||||
|
||||
export interface StunInfo {
|
||||
|
||||
Reference in New Issue
Block a user