Merge branch 'dev_vite' of ssh://18.167.251.121:10002/aidlab/aida_front into dev_vite

This commit is contained in:
X1627315083
2026-01-20 15:29:06 +08:00
4 changed files with 22 additions and 22 deletions

View File

@@ -32,8 +32,8 @@
is-input
:tipFormatter="(v) => `${v}px`"
:value="gapX"
@input="(e) => emit('inputFill_Gap', e, gapY)"
@change="(e) => emit('changeFill_Gap', e, gapY)"
@input="(e) => emit('inputFillGap', e, gapY)"
@change="(e) => emit('changeFillGap', e, gapY)"
/>
</div>
<div class="repeat-setting-item">
@@ -45,8 +45,8 @@
is-input
:tipFormatter="(v) => `${v}px`"
:value="gapY"
@input="(e) => emit('inputFill_Gap', gapX, e)"
@change="(e) => emit('changeFill_Gap', gapX, e)"
@input="(e) => emit('inputFillGap', gapX, e)"
@change="(e) => emit('changeFillGap', gapX, e)"
/>
</div>
<div class="repeat-setting-item">
@@ -109,8 +109,8 @@
"changeFillOffset",
"inputFillScale",
"changeFillScale",
"inputFill_Gap",
"changeFill_Gap",
"inputFillGap",
"changeFillGap",
]);
const inputFillScale = (e) => {
const scale = e / 100;

View File

@@ -155,11 +155,11 @@
@changeFillScale="
(e) => changeFillScale(e, v)
"
@inputFill_Gap="
(x, y) => inputFill_Gap(x, y, v)
@inputFillGap="
(x, y) => inputFillGap(x, y, v)
"
@changeFill_Gap="
(x, y) => changeFill_Gap(x, y, v)
@changeFillGap="
(x, y) => changeFillGap(x, y, v)
"
/>
</template>
@@ -484,7 +484,7 @@
props.commandManager.execute(cmd);
};
// 改变填充间隙
const inputFill_Gap = (gapX, gapY, obj) => {
const inputFillGap = (gapX, gapY, obj) => {
const cmd = new FillRepeatGapChangeCommand({
canvas: props.canvas,
layers: layers,
@@ -497,7 +497,7 @@
});
cmd.execute();
};
const changeFill_Gap = (gapX, gapY, obj) => {
const changeFillGap = (gapX, gapY, obj) => {
if (obj.oldFill_) {
obj.fill_ = { ...obj.oldFill_ };
delete obj.oldFill_;

View File

@@ -63,8 +63,8 @@
@inputFillOffset="inputFillOffset"
@inputFillScale="inputFillScale"
:sketchPath="selectDetail.path"
@inputFill_Gap="
(x, y) => inputFill_Gap(x, y)"
@inputFillGap="
(x, y) => inputFillGap(x, y)"
/>
</template>
<div class="btn">
@@ -931,7 +931,7 @@ export default defineComponent({
},
]);
}
const inputFill_Gap = (x:any,y:any)=>{
const inputFillGap = (x:any,y:any)=>{
let arr = editPrintElementData.printStyleList[props.type].overall
arr[editPrintElementData.imgDomIndex].object.gapX = x
arr[editPrintElementData.imgDomIndex].object.gapY = y
@@ -991,7 +991,7 @@ export default defineComponent({
inputFillAngle,
inputFillOffset,
inputFillScale,
inputFill_Gap,
inputFillGap,
overallSetIndex,
}
},

View File

@@ -32,8 +32,8 @@
is-input
:tipFormatter="(v) => `${v}px`"
:value="gapX"
@input="(e) => emit('inputFill_Gap', e, gapY)"
@change="(e) => emit('changeFill_Gap', e, gapY)"
@input="(e) => emit('inputFillGap', e, gapY)"
@change="(e) => emit('changeFillGap', e, gapY)"
/>
</div>
<p></p>
@@ -46,8 +46,8 @@
is-input
:tipFormatter="(v) => `${v}px`"
:value="gapY"
@input="(e) => emit('inputFill_Gap', gapX, e)"
@change="(e) => emit('changeFill_Gap', gapX, e)"
@input="(e) => emit('inputFillGap', gapX, e)"
@change="(e) => emit('changeFillGap', gapX, e)"
/>
</div>
<p></p>
@@ -115,8 +115,8 @@
"changeFillOffset",
"inputFillScale",
"changeFillScale",
"inputFill_Gap",
"changeFill_Gap",
"inputFillGap",
"changeFillGap",
]);
const inputFillScale = (e) => {
const scale = e / 100;