Преглед на файлове

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

TwoKe945 преди 1 година
родител
ревизия
5d3f873dc9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 + "】模块开发中...")
       }
     },