|
@@ -174,7 +174,7 @@
|
|
|
|
|
|
<div class="html-end-img-box">
|
|
|
<div class="opt-btn-box" style="display: none;">
|
|
|
- <div class="del-btn" @click.stop="endImg=''"></div>
|
|
|
+ <div class="del-btn" @click.stop="deleteLayoutPic(2)"></div>
|
|
|
</div>
|
|
|
<img :src="endImg" alt="" style="display:block;width:100%">
|
|
|
<div class="head-layout-item" v-for="item in endImgStyle" :key="item.value"
|
|
@@ -1375,7 +1375,7 @@ export default {
|
|
|
},
|
|
|
// 删除版头版尾
|
|
|
deleteLayoutPic(type){
|
|
|
- if(type=='1'){
|
|
|
+ if(type===1){
|
|
|
this.headImg=''
|
|
|
this.headImgId = 0
|
|
|
}else{
|