Explorar o código

更新导航栏的登录弹窗

reghao %!s(int64=2) %!d(string=hai) anos
pai
achega
667dc0d601
Modificáronse 1 ficheiros con 2 adicións e 6 borrados
  1. 2 6
      src/components/layout/NavBar.vue

+ 2 - 6
src/components/layout/NavBar.vue

@@ -173,15 +173,11 @@ export default {
   methods: {
     login() {
       this.fetchPubkey()
-    },
-    register() {
-      this.fetchPubkey()
-    },
-    login1() {
       this.dialogVisible2 = false
       this.dialogVisible = true
     },
-    register1() {
+    register() {
+      this.fetchPubkey()
       this.dialogVisible2 = false
       this.dialogVisible = true
     },