(id)
| 1833 | } |
| 1834 | |
| 1835 | async function editNewApiService(id) { |
| 1836 | try { |
| 1837 | const service = await api.get(`/new-api-services/${id}`); |
| 1838 | openNewApiServiceModal(service); |
| 1839 | } catch (e) { |
| 1840 | toast.error('获取服务信息失败: ' + e.message); |
| 1841 | } |
| 1842 | } |
| 1843 | |
| 1844 | async function handleSaveNewApiService(e) { |
| 1845 | e.preventDefault(); |
nothing calls this directly
no test coverage detected