From fe3da7705a2d388a21f335daba4421c8ca078aa5 Mon Sep 17 00:00:00 2001 From: qiqi <13333190325@163.com> Date: Tue, 24 Feb 2026 10:18:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=9C=AA=E4=BC=A0=E8=A7=86=E9=A2=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content-config.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content-config.html b/content-config.html index 8299c37..03ae527 100644 --- a/content-config.html +++ b/content-config.html @@ -510,6 +510,7 @@ let currentFile = null; let currentImageUrl = ''; + let currentVideoUrl = ''; function showToast(msg) { toastEl.textContent = msg; @@ -534,6 +535,7 @@ }); if (res && res.code === 200 && res.data && res.data.img_url) { currentImageUrl = res.data.img_url; + currentVideoUrl = res.data.video; showPreview(currentImageUrl); } } catch (e) { @@ -635,6 +637,7 @@ const formData = new FormData(); formData.append('id', 1); formData.append('url', currentImageUrl); + formData.append('video', currentVideoUrl); const res = await saveContentConfigApi(formData); if (res && res.code === 200) { showToast('保存配置成功');