Explorar o código

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

TwoKe945 hai 1 ano
pai
achega
5d3f873dc9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 + "】模块开发中...")
       }
     },