mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-04 23:18:44 +08:00
fix
This commit is contained in:
@@ -82,12 +82,13 @@ const updateSiteCookie = async () => {
|
|||||||
updateButtonText.value = "更新中 ...";
|
updateButtonText.value = "更新中 ...";
|
||||||
updateButtonDisable.value = true;
|
updateButtonDisable.value = true;
|
||||||
|
|
||||||
const result: { [key: string]: any } = await api.put(
|
const result: { [key: string]: any } = await api.get(
|
||||||
"site/cookie/" + props.site?.id,
|
"site/cookie/" + props.site?.id,
|
||||||
{
|
{
|
||||||
site_id: props.site?.id,
|
params: {
|
||||||
username: userPwForm.value.username,
|
username: userPwForm.value.username,
|
||||||
password: userPwForm.value.password,
|
password: userPwForm.value.password,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user