diff --git a/src/component/Canvas/CanvasEditor/components/SelectMenuPanel/RepeatSetting.vue b/src/component/Canvas/CanvasEditor/components/SelectMenuPanel/RepeatSetting.vue
index e8ad87ca..fd59a643 100644
--- a/src/component/Canvas/CanvasEditor/components/SelectMenuPanel/RepeatSetting.vue
+++ b/src/component/Canvas/CanvasEditor/components/SelectMenuPanel/RepeatSetting.vue
@@ -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)"
/>
@@ -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)"
/>
@@ -109,8 +109,8 @@
"changeFillOffset",
"inputFillScale",
"changeFillScale",
- "inputFill_Gap",
- "changeFill_Gap",
+ "inputFillGap",
+ "changeFillGap",
]);
const inputFillScale = (e) => {
const scale = e / 100;
diff --git a/src/component/Canvas/CanvasEditor/components/SelectMenuPanel/index.vue b/src/component/Canvas/CanvasEditor/components/SelectMenuPanel/index.vue
index 2ac1bfc6..fea8cf41 100644
--- a/src/component/Canvas/CanvasEditor/components/SelectMenuPanel/index.vue
+++ b/src/component/Canvas/CanvasEditor/components/SelectMenuPanel/index.vue
@@ -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)
"
/>
@@ -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_;
diff --git a/src/component/Detail/detailRight/editPrintElement.vue b/src/component/Detail/detailRight/editPrintElement.vue
index a7ad09fb..f0fff224 100644
--- a/src/component/Detail/detailRight/editPrintElement.vue
+++ b/src/component/Detail/detailRight/editPrintElement.vue
@@ -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)"
/>
@@ -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,
}
},
diff --git a/src/component/Detail/detailRight/overallSetting/RepeatSetting.vue b/src/component/Detail/detailRight/overallSetting/RepeatSetting.vue
index 02434fab..a16ce2ae 100644
--- a/src/component/Detail/detailRight/overallSetting/RepeatSetting.vue
+++ b/src/component/Detail/detailRight/overallSetting/RepeatSetting.vue
@@ -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)"
/>
@@ -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)"
/>