dedsudiyu 1 년 전
부모
커밋
0b2a501d7c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/fullScreenView/fullScreenView.vue

+ 1 - 1
src/components/fullScreenView/fullScreenView.vue

@@ -125,7 +125,7 @@
       //初始化图片位置
       clickLookImg(index){
         let self = this;
-        if(index === this.lookIndex){
+        if(index && index === this.lookIndex){
           return
         }
         //计算属性