 }

        // 定期检查数据更新
        function startDataRefreshCheck() {
            setInterval(async () => {
                try {
                    const response = await fetch(`/api/projects/{{ project.project_id }}/slides-data`);
                    const data = await response.json();

                    if (data.status === 'success' && data.updated_at > {{ project.updated_at }}) {
                        // 数据已更新，刷新幻灯片数据
                        console.log('检�