Browse Source

改密码,改标题

pangluotong/feature-20250712103401-抽奖
no99 3 weeks ago
parent
commit
e33bdd048f
  1. 2
      index.html
  2. 4
      src/views/choujiang/Login.vue

2
index.html

@ -4,7 +4,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> <link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Vue</title>
<title>弘历周年庆</title>
</head> </head>
<body> <body>
<!-- <script src="/src/utils/tween.min.js"></script> --> <!-- <script src="/src/utils/tween.min.js"></script> -->

4
src/views/choujiang/Login.vue

@ -23,11 +23,11 @@ const handleLogin = () => {
alert('请输入密码'); alert('请输入密码');
return; return;
} }
if (password.value == '000000') {
if (password.value == 'hl2025') {
authStore.login(); authStore.login();
router.push('/hxlCj'); router.push('/hxlCj');
} else { } else {
if (password.value === '123456') {
if (password.value === 'hl2024') {
// //
authStore.login(); // 使Pinia authStore.login(); // 使Pinia
router.push('/choujiang'); router.push('/choujiang');

Loading…
Cancel
Save