Commit 839b2d0b authored by zhengke's avatar zhengke

删除多余代码

parent 0a866c0c
......@@ -187,16 +187,6 @@ watch(handleElementId, () => {
const elementList = ref<PPTElement[]>([])
const setLocalElementList = () => {
elementList.value = currentSlide.value&&currentSlide.value.elements ? JSON.parse(JSON.stringify(currentSlide.value.elements)) : []
// if(currentSlide.value.width){
// console.log(currentSlide.value.width,'=====')
// VIEWPORT_SIZE.Value = currentSlide.value.height
// VIEWPORT_VER_SIZE.Value = currentSlide.value.width
// if(viewportRatio.value<1) VIEWPORT_SIZE.Value = currentSlide.value.height
// else VIEWPORT_VER_SIZE.Value = currentSlide.value.width
// }else {
// VIEWPORT_SIZE.Value = 1754
// VIEWPORT_VER_SIZE.Value = 1240
// }
}
watchEffect(setLocalElementList)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment