ソースを参照

更新导航栏的登录弹窗

reghao 2 年 前
コミット
667dc0d601
1 ファイル変更2 行追加6 行削除
  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
     },