ping
This commit is contained in:
parent
97d0f4084a
commit
76c26f3e28
@ -248,7 +248,9 @@
|
|||||||
"changeToWanModelSuccess": "Switched to WAN mode (mode status saved locally)",
|
"changeToWanModelSuccess": "Switched to WAN mode (mode status saved locally)",
|
||||||
"goToLogin": "Go to login",
|
"goToLogin": "Go to login",
|
||||||
"openLanUrl": "Open LAN URL",
|
"openLanUrl": "Open LAN URL",
|
||||||
"openWanUrl": "Open WAN URL"
|
"openWanUrl": "Open WAN URL",
|
||||||
|
"ping": "ping test"
|
||||||
|
|
||||||
},
|
},
|
||||||
"settingUserInfo": {
|
"settingUserInfo": {
|
||||||
"confirmLogoutText": "Are you sure you want to logout?",
|
"confirmLogoutText": "Are you sure you want to logout?",
|
||||||
|
@ -248,7 +248,9 @@
|
|||||||
"changeToWanModelSuccess": "已经切换到公网模式(模式状态仅保存在本地)",
|
"changeToWanModelSuccess": "已经切换到公网模式(模式状态仅保存在本地)",
|
||||||
"goToLogin": "前往登录",
|
"goToLogin": "前往登录",
|
||||||
"openLanUrl": "打开局域网地址",
|
"openLanUrl": "打开局域网地址",
|
||||||
"openWanUrl": "打开公网地址"
|
"openWanUrl": "打开公网地址",
|
||||||
|
"ping": "延迟测试"
|
||||||
|
|
||||||
},
|
},
|
||||||
"settingUserInfo": {
|
"settingUserInfo": {
|
||||||
"confirmLogoutText": "你确定要退出登录吗?",
|
"confirmLogoutText": "你确定要退出登录吗?",
|
||||||
|
@ -307,7 +307,9 @@ function handleSetSortStatus(groupIndex: number, sortStatus: boolean) {
|
|||||||
updateItemIconGroupByNet(groupIndex, items.value[groupIndex].id as number)
|
updateItemIconGroupByNet(groupIndex, items.value[groupIndex].id as number)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
function ping(params: any) {
|
||||||
|
return params
|
||||||
|
}
|
||||||
function handleEditItem(item: Panel.ItemInfo) {
|
function handleEditItem(item: Panel.ItemInfo) {
|
||||||
editItemInfoData.value = item
|
editItemInfoData.value = item
|
||||||
editItemInfoShow.value = true
|
editItemInfoShow.value = true
|
||||||
@ -401,6 +403,9 @@ function handleAddItem(itemIconGroupId?: number) {
|
|||||||
<span class="mr-2 cursor-pointer " :title="t('common.sort')" @click="handleSetSortStatus(itemGroupIndex, !itemGroup.sortStatus)">
|
<span class="mr-2 cursor-pointer " :title="t('common.sort')" @click="handleSetSortStatus(itemGroupIndex, !itemGroup.sortStatus)">
|
||||||
<SvgIcon class="text-white font-xl" icon="ri:drag-drop-line" />
|
<SvgIcon class="text-white font-xl" icon="ri:drag-drop-line" />
|
||||||
</span>
|
</span>
|
||||||
|
<span class="mr-2 cursor-pointer " :title="t('panelHome.ping')" @click="ping(itemGroupIndex)">
|
||||||
|
<SvgIcon class="text-white font-xl" icon="mdi-wan" />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user