Kaynağa Gözat

修改设备详情页点击右侧空白弹出弹层问题

jxing 4 yıl önce
ebeveyn
işleme
c14a975190
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. 3 1
      src/views/AssetDetail.vue

+ 3 - 1
src/views/AssetDetail.vue

@@ -198,7 +198,9 @@ export default {
      * 点击右侧筛选
      */
     handleRightClick() {
-      this.showPopup = true;
+      if (this.active == 1 || this.active == 2) {
+        this.showPopup = true;
+      }
     },
     changeTab(active) {
       console.log(this.active);