This commit is contained in:
李志鹏
2026-01-06 16:28:08 +08:00
parent 11876f7fff
commit 6cb1e72798
2 changed files with 16 additions and 2 deletions

View File

@@ -295,6 +295,15 @@ const otherData = {
color: {rgba: {r:255,g:0,b:0,a:1}},
printObject: {
prints: [
{
ifSingle: false,
level2Type: "Pattern",
designType: "Library",
path: "/src/assets/images/canvas/yinhua1.jpg",
location: [250, 780],
scale: [0.5 * 0.7, 0.272541 * 0.7],
angle: 0,
},
{
ifSingle: true,
level2Type: "Pattern",
@@ -343,10 +352,10 @@ const otherData = {
ref="canvasEditor"
key="canvasEditor"
v-if="currentView === 'canvasEditor'"
:config="editorConfig"
:clothingImageUrl="clothingImageUrl"
:clothingImageUrl="clothingImageUrl"
:clothingImageUrl2="clothingImageUrlInit"
:otherData="otherData"
:config="editorConfig"
:clothing-image-opts="{
imageMode: 'contains', // 设置底图包含在画布内
}"