feat: design跳转视频默认mode为1

This commit is contained in:
zhangyh
2025-11-17 16:19:11 +08:00
parent 07bc16909a
commit 47817512e1
2 changed files with 2 additions and 0 deletions

View File

@@ -339,6 +339,7 @@ setup(props:any,{emit}) {
projectId:productimg.selectObject.id,
productImage:getMinioUrl(productimg.scaleImageList[productimg.scaleImageIndex].sourceUrl),
modelName:speed.speedData.value,
mode:1,
parentId:productimg.selectGenerate.parentId || productimg.selectGenerate.userLikeSortId,
userLikeSortId:productimg.openType == 'add'?(productimg.selectGenerate.userLikeSortId || null):null,
isDefaultLike:true,//表示是否生成就like

View File

@@ -920,6 +920,7 @@ export default defineComponent({
const firstFrameList = ref([])
const lastFrameList = ref([])
const showFirstFrameList = computed(() => {
if(props.isDesignPage) return data.fileList
return videoType.value === 3 ? firstFrameList.value : data.fileList
})
watch(