@@ -373,6 +373,8 @@ export default {
updateClipStroke() {
if (!this.judge() || !this.clipSettings.showClipStroke) return;
+ return;;
+
const { shape, width, height, radius, offsetX, offsetY, strokeColor, strokeWidth, rectRadius } = this.clipSettings;
// 移除当前对象已有的描边图形(如果存在)
@@ -392,6 +394,7 @@ export default {
rx: rectRadius,
ry: rectRadius,
stroke: strokeColor,
+ sort:this.editLayer.sort,
strokeWidth: strokeWidth,
fill: null,
selectable: false,
@@ -402,6 +405,7 @@ export default {
radius: radius,
left: offsetX,
top: offsetY,
@@ -49,6 +49,8 @@ cutout(){
<!-- <el-option label="SVG" value="svg"></el-option>-->
</el-select>
</div>
+ <template v-if="clipSettings.shape">
<div v-if="clipSettings.shape === 'svg'" class="flex left" style="margin-left:10px">
<!-- 固定地址输入框 -->
<el-input
@@ -155,11 +157,13 @@ cutout(){
<!-- 描边参数 -->
+<!--
<div class="flex left mar-top-10 ">
<div class="label fs-14 c-333 te-l" style="width: 35px;">描边</div>
- <el-input-number v-model="clipSettings.strokeWidth" @input="applyClipPath" :step="1" :min="0" :max="10" size="small" style="width:90px; margin-right: 10px;" placeholder="描边"/>
+ <el-input-number v-model="clipSettings.strokeWidth" @input="applyClipPath" :step="1" :min="0" :max="5" size="small" style="width:90px; margin-right: 10px;" placeholder="描边"/>
<el-color-picker v-model="clipSettings.strokeColor" @change="applyClipPath" size="small" class="mar-left-10"/>
+-->
<!-- 偏移参数 -->
@@ -168,6 +172,8 @@ cutout(){
<div class="flex left mar-top-10">
<el-button @click="clearClipPath" size="small">清除剪裁</el-button>
+ </template>
`
}