Explorar o código

fix(frontend): 代理检测提交参数修正

Signed-off-by: Myon <[email protected]>
Myon %!s(int64=3) %!d(string=hai) anos
pai
achega
2a34c6838d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      frontend/src/components/ProxyCheckBtn.vue

+ 1 - 1
frontend/src/components/ProxyCheckBtn.vue

@@ -41,7 +41,7 @@ const checkList = ref([]);
 
 const checkProxy = async () => {
   checking.value = true;
-  const [res] = await CommonApi.checkProxy(props.settings);
+  const [res] = await CommonApi.checkProxy({ proxy_settings: props.settings });
   checking.value = false;
   checkList.value = res?.sub_site_status || [];
   show.value = true;