|
@@ -2,7 +2,7 @@
|
|
|
* @Author: LiZhiWei
|
|
|
* @Date: 2025-04-10 14:38:27
|
|
|
* @LastEditors: LiZhiWei
|
|
|
- * @LastEditTime: 2025-04-29 10:25:59
|
|
|
+ * @LastEditTime: 2025-04-29 10:28:45
|
|
|
* @Description:
|
|
|
-->
|
|
|
<template>
|
|
@@ -20,7 +20,6 @@ const pptxContainer = ref(null)
|
|
|
|
|
|
// 渲染幻灯片
|
|
|
const renderSlides = () => {
|
|
|
- console.log("props.pptxJson", props.pptxJson)
|
|
|
if (!pptxContainer.value || !props.pptxJson) return
|
|
|
|
|
|
pptxContainer.value.innerHTML = ""
|
|
@@ -1997,7 +1996,6 @@ const createShapeElement = (element) => {
|
|
|
"circle"
|
|
|
)
|
|
|
const fmla = element?.formulas[0].split(" ")[1]
|
|
|
- console.log('fmla', fmla)
|
|
|
innerCircle.setAttribute("cx", element.width / 2)
|
|
|
innerCircle.setAttribute("cy", element.height / 2)
|
|
|
innerCircle.setAttribute("r", Math.min(element.width, element.height)/2 * (1- Math.sqrt(fmla/100000)/2))
|