完善typescript的调试。

This commit is contained in:
2023-03-07 17:54:52 +08:00
parent e99d092862
commit 12dd277a2a
9 changed files with 15 additions and 9 deletions

View File

@@ -9,8 +9,8 @@
*/
import { type AxiosResponse } from "axios";
import { service as instance } from "./api/request";
import { API_URL } from "./api/config";
import { service as instance } from "./api/request.js";
import { API_URL } from "./api/config.js";
interface LoginInfo
{
p13account: string;

View File

@@ -8,5 +8,6 @@
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
export const API_URL = {
URL_LOGIN: import.meta.env.VITE_URL_LOGIN,
// URL_LOGIN: import.meta.env.VITE_URL_LOGIN,
URL_LOGIN: "http://222.76.244.118:11001/admin-system/account/p13_account_check",
};

View File

@@ -7,7 +7,7 @@
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
import { StaffInfo } from "@/data/cpicxim/StaffInfo";
import { StaffInfo } from "@/data/cpicxim/StaffInfo.js";
const STUFF_ITEM = "stuff_info";