Browse Source

fix: update

李志伟 2 months ago
parent
commit
007a21a360
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/components/view_file/vendors/pptx/PPT.vue

+ 1 - 3
src/components/view_file/vendors/pptx/PPT.vue

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