Skip to content

Commit

Permalink
[+] 添加隧道列表为空提示
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Oct 3, 2024
1 parent 2eeb065 commit f39a403
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/proxies/ProxiesView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,10 @@ async function initList() {
if (rs2.status === 200) {
proxiesList.value = rs2.data.list
loading.value = false
} else if (rs2.status === 404) {
sendErrorMessage('你还没有隧道,先创建一个吧?')
} else {
return rs2.data
sendErrorMessage(rs2.message)
}
}
Expand Down

0 comments on commit f39a403

Please sign in to comment.