脚本实装

This commit is contained in:
mtvpls
2026-03-21 14:44:53 +08:00
parent c41955952e
commit 3b5587e388
11 changed files with 960 additions and 25 deletions
+5 -4
View File
@@ -5506,6 +5506,7 @@ const VideoSourceConfig = ({
message={alertModal.message}
timer={alertModal.timer}
showConfirm={alertModal.showConfirm}
onConfirm={alertModal.onConfirm}
/>
{/* 批量操作确认弹窗 */}
@@ -6052,10 +6053,9 @@ const VideoSourceScriptLab = () => {
setTemplate(data.template || '');
const targetId =
preferId ||
selectedScriptId ||
nextScripts[0]?.id ||
null;
preferId !== undefined
? preferId
: selectedScriptId || nextScripts[0]?.id || null;
const selected = nextScripts.find((item) => item.id === targetId) || null;
if (selected) {
@@ -6565,6 +6565,7 @@ const VideoSourceScriptLab = () => {
message={alertModal.message}
timer={alertModal.timer}
showConfirm={alertModal.showConfirm}
onConfirm={alertModal.onConfirm}
/>
</div>
);