Kaynağa Gözat

fix: 修复在当前页面重复点击提示未开发的问题

TwoKe945 1 yıl önce
ebeveyn
işleme
5d3f873dc9
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app/src/components/Headers.vue

+ 1 - 1
app/src/components/Headers.vue

@@ -108,7 +108,7 @@ export default {
       if (item.url && this.$route.path !== item.url) {
         this.flag = item.id
         this.$router.push(item.url)
-      } else {
+      } else if (item.url) {
         alert("【" + item.name + "】模块开发中...")
       }
     },