chuzhixin 4 anni fa
parent
commit
8d2ac4d36a
1 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. 2 4
      src/views/login/index.vue

+ 2 - 4
src/views/login/index.vue

@@ -146,10 +146,8 @@
       document.body.style.overflow = "auto";
     },
     mounted() {
-      if ("production" !== process.env.NODE_ENV) {
-        this.form.username = "admin";
-        this.form.password = "123456";
-      }
+      this.form.username = "admin";
+      this.form.password = "123456";
     },
     methods: {
       handlePassword() {