diff --git a/web-to-ppt/popup.html b/web-to-ppt/popup.html index 8a9c275..1785f8c 100644 --- a/web-to-ppt/popup.html +++ b/web-to-ppt/popup.html @@ -40,7 +40,6 @@ - diff --git a/web-to-ppt/popup.js b/web-to-ppt/popup.js index 1dbf14c..4276ba8 100644 --- a/web-to-ppt/popup.js +++ b/web-to-ppt/popup.js @@ -70,6 +70,9 @@ async function exportPptx() { // 3. 转化 setProgress(50, '正在生成 PPTX...'); const schema = await WebToPPT.convertToPptx(dataResult.data, (msg) => setProgress(60, msg)); + // Debug: check rotation + const rotateCount = schema.slides.reduce((acc, s) => acc + s.objects.filter(o => o.options?.rotate).length, 0); + console.log('[WebToPPT] schema:', schema.slides.length, 'slides,', rotateCount, 'shapes with rotation'); // 4. 生成 PPTX setProgress(85, '正在打包...');