pages/login/index.vue
@@ -56,7 +56,7 @@ } } //管理员登录 const form = ref({userName:'',password:''}) const form = ref({userName:'admin',password:'lunhan123456'}) const pwdType = ref('password') function changePwdType(str){ pwdType.value = str == 'pwd' ? 'text' : ( str == 'text' ? 'password' : 'text')