Commit 93da0f78 authored by 罗超's avatar 罗超

修正冲突

parent c5c7aad3
......@@ -70,6 +70,7 @@ import Draggable from 'vuedraggable'
import { ElLoading, ElMessageBox } from 'element-plus'
import FileService from '@/services/FileService'
import { VIEWPORT_SIZE, VIEWPORT_VER_SIZE } from '@/configs/canvas'
import { Slide } from '@/types/slides'
const mainStore = useMainStore()
const slidesStore = useSlidesStore()
......@@ -386,7 +387,9 @@ const GetTripTemplate = async () =>{
}
})
})
console.log(newSlides,'=======模版数据newSlides')
if(ConfigId.value>0){
newSlides = newSlides.filter((x:Slide)=>!x.isTripItems)
}
slidesStore.setSlides(newSlides)
layoutsStore.setLayouts(JSON.parse(JSON.stringify(newSlides)))
CoverImgStore.setCoverImg(dataRes.data.data.CoverImg)
......
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