chenjj hai 2 días
pai
achega
108ac9a5f0
Modificáronse 2 ficheiros con 6 adicións e 4 borrados
  1. 4 2
      src/views/login.vue
  2. 2 2
      vite.config.js

+ 4 - 2
src/views/login.vue

@@ -78,8 +78,10 @@ const router = useRouter();
 const { proxy } = getCurrentInstance();
 
 const loginForm = ref({
-  username: "admin",
-  password: "admin123",
+  // username: "admin",
+  // password: "admin123",
+  username: "",
+  password: "",
   rememberMe: false,
   code: "",
   uuid: ""

+ 2 - 2
vite.config.js

@@ -37,8 +37,8 @@ export default defineConfig(({ mode, command }) => {
         },
         // https://cn.vitejs.dev/config/#server-proxy
         '/dev-api': {
-          target: 'http://192.168.100.95:9527',
-          // target: 'https://zybooks.tech/prod-api', 
+          // target: 'http://192.168.100.95:9527',
+          target: 'https://zybooks.tech/prod-api', 
           // target: 'http://192.168.100.101:9527',
           // target: 'http://192.168.100.122:9527',
           changeOrigin: true,