(id)
| 1162 | |
| 1163 | // 编辑代理 |
| 1164 | async function editProxyItem(id) { |
| 1165 | try { |
| 1166 | const proxy = await api.get(`/settings/proxies/${id}`); |
| 1167 | openProxyModal(proxy); |
| 1168 | } catch (error) { |
| 1169 | toast.error('获取代理信息失败'); |
| 1170 | } |
| 1171 | } |
| 1172 | |
| 1173 | // 测试单个代理 |
| 1174 | async function testProxyItem(id) { |
nothing calls this directly
no test coverage detected