fix
This commit is contained in:
@@ -97,7 +97,7 @@
|
||||
<div class="centent_div centent_print" v-if="exhibitionList.print && exhibitionList.print.length > 1" @click="openCurrent(2)">
|
||||
<img v-for="item in exhibitionList.print" :key="item.id" :src="item.path" alt="">
|
||||
</div>
|
||||
<div v-else-if="exhibitionList.print && exhibitionList.print.length == 1" class="centent_div">
|
||||
<div v-else-if="exhibitionList.print && exhibitionList.print.length == 1" class="centent_div" @click="openCurrent(2)">
|
||||
<img :src="exhibitionList.print[0]?.path" alt="">
|
||||
</div>
|
||||
<i v-else class="fi fi-rr-picture centent" @click="openCurrent(2)"></i>
|
||||
@@ -133,7 +133,7 @@
|
||||
<div class="centent_div centent_print" v-if="exhibitionList.elements && exhibitionList.elements.length > 1" @click="openCurrent(4)">
|
||||
<img v-for="item in exhibitionList.elements" :key="item.id" :src="item.path" alt="">
|
||||
</div>
|
||||
<div v-else-if="exhibitionList.elements && exhibitionList.elements.length == 1" class="centent_div">
|
||||
<div v-else-if="exhibitionList.elements && exhibitionList.elements.length == 1" class="centent_div" @click="openCurrent(4)">
|
||||
<img :src="exhibitionList.elements[0]?.path" alt="">
|
||||
</div>
|
||||
<i v-else class="fi fi-rr-picture centent" @click="openCurrent(4)"></i>
|
||||
@@ -359,6 +359,8 @@ export default defineComponent({
|
||||
handler(newVal,oldVal){
|
||||
if(newVal && newVal.length > 0){
|
||||
this.exhibitionList.print = this.setExhibitionList(newVal)
|
||||
}else{
|
||||
this.exhibitionList.print = []
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -366,6 +368,8 @@ export default defineComponent({
|
||||
handler(newVal,oldVal){
|
||||
if(newVal && newVal.length > 0){
|
||||
this.exhibitionList.elements = this.setExhibitionList(newVal)
|
||||
}else{
|
||||
this.exhibitionList.print = []
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user