浏览代码

数据中心

彭宇 2 年之前
父节点
当前提交
4a04720ef4
共有 2 个文件被更改,包括 6 次插入6 次删除
  1. 3 3
      src/views/event.vue
  2. 3 3
      src/views/forest.vue

+ 3 - 3
src/views/event.vue

@@ -151,7 +151,7 @@
                   <div class="i-list-con h-26">
                     <el-image :src="item"
                               style="width:3.9rem; height:3rem;margin: 2px;"
-                              v-for="(item,index) in listEventPic" @click="tp(item)">
+                              v-for="(item,index) in listEventPic" @click="switchImage(item)">
                     </el-image>
                   </div>
                 </div>
@@ -307,7 +307,7 @@
                   <div class="i-list-con h-26">
                     <el-image :src="item"
                               style="width:3.9rem; height:3rem;margin: 2px;"
-                              v-for="(item,index) in listEventPic" @click="tp(item)">
+                              v-for="(item,index) in listEventPic" @click="switchImage(item)">
                     </el-image>
                   </div>
                 </div>
@@ -622,7 +622,7 @@
         }
       },
       /** ----------------------------------事件弹窗开始-未处理------------------------------------- */
-      tp(url) {
+      switchImage(url) {
         this.url = url
       },
       formLeaveTable(){

+ 3 - 3
src/views/forest.vue

@@ -205,7 +205,7 @@
                   <div class="i-list-con h-26">
                     <el-image :src="item"
                               style="width:3.9rem; height:3rem;margin: 2px;"
-                              v-for="(item,index) in listEventPic" @click="tp(item)">
+                              v-for="(item,index) in listEventPic" @click="switchImage(item)">
                     </el-image>
                   </div>
                 </div>
@@ -362,7 +362,7 @@
                   <div class="i-list-con h-26">
                     <el-image :src="item"
                               style="width:3.9rem; height:3rem;margin: 2px;"
-                              v-for="(item,index) in listEventPic" @click="tp(item)">
+                              v-for="(item,index) in listEventPic" @click="switchImage(item)">
                     </el-image>
                   </div>
                 </div>
@@ -899,7 +899,7 @@
 				}
 			},
       /** ----------------------------------事件弹窗开始------------------------------------- */
-      tp(url) {
+      switchImage(url) {
         this.url = url
       },
       async beforeLeave(newactiveName, oldActiveName) {