Merge branch 'dev_vite' of ssh://18.167.251.121:10002/aidlab/aida_front into dev_vite
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user