画布内容储存,pose等入参回显

This commit is contained in:
X1627315083
2025-07-22 18:16:33 +08:00
parent c06fd06d82
commit 3652e0a384
22 changed files with 429 additions and 322 deletions

View File

@@ -64,9 +64,13 @@ export default defineComponent({
isHiddenModel:true,
canvasConfig:{},
probjects:computed(()=>store.state.Workspace.probjects),
canvasJSON:computed(()=>store.state.HomeStoreModule.canvasData.deReconstruction),
undoStack:0,
changeImageUrl:'',
})
watch(()=>data.canvasJSON,(newVal)=>{
dataDom.editCanvas.loadJSON(newVal)
})
const dataDom = reactive({
editCanvas:null,
canvasBox:null

View File

@@ -177,12 +177,12 @@ export default defineComponent({
let speed = reactive({
speedList:[
{
title:'Generate high-quality content',
label:'High',
title:'',
label:t('speedList.High'),
value:'',
},{
title:'Generate using Wanxiang',
label:'WX',
title:'',
label:t('speedList.wx'),
value:'wx',
},
],

View File

@@ -283,13 +283,13 @@ export default defineComponent({
speedList:[
{
title:'',
label:'FLUX',
relightLabel:'Edit',
label:t('speedList.toproductFlus'),
relightLabel:t('speedList.relightEdit'),
value:'flux',
},{
title:'Generate with high quality',
label:'High',
relightLabel:'Relight',
title:'',
label:t('speedList.toproductBasic'),
relightLabel:t('speedList.changeBackground'),
value:'',
},
],
@@ -700,12 +700,12 @@ export default defineComponent({
})
scaleImage.value.isProductimg = isLike
// scaleImage.value.isProductimg = false
scaleImage.value.init(arr,index)
scaleImage.value.isLike = false
scaleImage.value.productimgSearchName = productImgData.searchName[props.productimgMenu.value]
scaleImage.value.productimgSimilarity = productImgData.similarity
scaleImage.value.productimgBrightenValue = productImgData.brightenValue
scaleImage.value.productimgRelightDirection = RelightDirection.value
scaleImage.value.init(arr,index)
scaleImage.value.isComparison = true
}
let generalIsMenuShow:any = {}