remove useless file
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
</a-layout-header>
|
||||
<a-layout-content class="center-content">
|
||||
<div class="lg_card">
|
||||
<h1 class="lg_card_title">账号登录</h1>
|
||||
<h1 class="lg_card_title">账号登录current</h1>
|
||||
<p v-show="!errorShow" style="height: 22px"></p>
|
||||
<p v-show="errorShow" class="lg_card_error">{{ errorMsg }}</p>
|
||||
<a-input
|
||||
@@ -74,7 +74,12 @@
|
||||
if (userName.value !== '' && password.value !== '') {
|
||||
errorShow.value = false;
|
||||
let data = JSON.stringify({ userName: userName.value, password: password.value });
|
||||
loading.value = true;
|
||||
// loading.value = true;
|
||||
console.log(data);
|
||||
Cookies.set('nervsid', 'mockId');
|
||||
router.push({
|
||||
name: 'AnnouncementsIndex',
|
||||
});
|
||||
async function logins() {
|
||||
try {
|
||||
const res = await configStore.userLogin(JSON.parse(data));
|
||||
@@ -127,7 +132,7 @@
|
||||
loading.value = false;
|
||||
}
|
||||
}
|
||||
logins();
|
||||
// logins();
|
||||
}
|
||||
};
|
||||
const checkoutLogo = (): void => {
|
||||
|
Reference in New Issue
Block a user