还在调整界面

This commit is contained in:
2023-03-04 18:05:47 +08:00
parent 075e9050dd
commit 620860c551
7 changed files with 151 additions and 50 deletions

View File

@@ -36,7 +36,7 @@
</template>
<script lang="ts">
import { reactive, onBeforeMount, } from "vue";
import { reactive, onBeforeMount } from "vue";
import { useRouter } from "vue-router";
import { loadStaffInfo, saveStaffInfo } from "@/utils/api/localStorage";
import { login } from "@/utils/account";
@@ -71,7 +71,7 @@ export default {
};
login(info)
.then((response: any) =>
.then((response) =>
{
const data = response.data || { success: false, };
@@ -110,7 +110,7 @@ export default {
console.log(data);
})
.catch((error: any) =>
.catch((error) =>
{
debugger;
console.log(`登录失败,返回信息:${error}`);