Browse Source

设置默认账号密码便于开发快捷登录

lifanagju_citu 9 months ago
parent
commit
909c4b8548
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/login/components/passwordPage.vue

+ 1 - 1
src/views/login/components/passwordPage.vue

@@ -70,7 +70,7 @@ const loginData = reactive({
 })
 
 // 设置默认账号密码便于开发快捷登录
-if (window.location.hostname === 'localhost') {
+if (window.location.hostname === 'localhost' || window.location.hostname === '192.168.3.152') {
   loginData.phone = '13229740091'
   loginData.password = '1111'
 }