|
@@ -52,7 +52,7 @@
|
|
|
<AddFormat @addPage="addPage($event,index)" :chooseModalId="chooseModalId"/>
|
|
|
<div class="ppt-item" :class="{'choose':currentItem.id===item.id}"
|
|
|
v-loading="item.isUpdating" :element-loading-text="$t('Slides.updating_chart_loading')"
|
|
|
- @click="changeCurrentItem(item)">
|
|
|
+ @click.stop="changeCurrentItem(item)">
|
|
|
<!-- 标题 -->
|
|
|
<!-- <div class="title-wrap" style="left:8%;width:62%;">
|
|
|
<input type="text" :placeholder="$t('Slides.click_to_input_title')" v-model="item.title"/>
|
|
@@ -794,6 +794,11 @@ export default {
|
|
|
|
|
|
this.isEditTitle = false
|
|
|
}
|
|
|
+ //点击当前页时,退出标题编辑模式
|
|
|
+ if(this.currentItem&&this.currentItem.id===id){
|
|
|
+ this.isEditTitle = false
|
|
|
+ return
|
|
|
+ }
|
|
|
this.pageList.map((item,index)=>{
|
|
|
if(item.id===id){
|
|
|
this.currentItem = item
|