Explorar el Código

更新导航栏的登录弹窗

reghao hace 2 años
padre
commit
667dc0d601
Se han modificado 1 ficheros con 2 adiciones y 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
     },