fix: 修复canvas快捷键隐藏问题、提交preview后切换sketch再切回来前后片变为最早版本

This commit is contained in:
X1627315083
2026-01-21 09:41:38 +08:00
parent 3692361551
commit a78056c898
2 changed files with 6 additions and 35 deletions

View File

@@ -901,6 +901,7 @@ export default defineComponent({
const inputFillOffset = (offset:any)=>{
let arr = editPrintElementData.printStyleList[props.type].overall
arr[editPrintElementData.imgDomIndex].location = [offset.left * offset.size[0] / 100,offset.top * offset.size[1] / 100]
console.log(arr[editPrintElementData.imgDomIndex].location)
editPrintElementDom.pingpuRef.updataList([
{
action: ACTIONS.UPDATE,