完善typescript的调试。

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

View File

@ -3,4 +3,6 @@ $color-bg-01: #fecb96;
$color-bg-02: #f7954e; $color-bg-02: #f7954e;
$color-bg-03: #f27620; $color-bg-03: #f27620;
$color-bg-04: #da3703; $color-bg-04: #da3703;
$color-bg-05: #ba1800; $color-bg-05: #ba1800;
$color-charts-bg:#ffffff9f;

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

View File

@ -100,7 +100,7 @@ export default {
#chartWrapper { #chartWrapper {
min-height: 200px; min-height: 200px;
width: 100%; width: 100%;
background-color: #ffffffaf; background-color: $color-charts-bg;
backdrop-filter: blur(10px); backdrop-filter: blur(10px);
flex-grow: 1; flex-grow: 1;
border-radius: 5px; border-radius: 5px;

View File

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

View File

@ -8,5 +8,6 @@
* Copyright (c) ${2022} by Kane, All Rights Reserved. * Copyright (c) ${2022} by Kane, All Rights Reserved.
*/ */
export const API_URL = { 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. * 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"; const STUFF_ITEM = "stuff_info";

View File

@ -13,7 +13,7 @@
"useDefineForClassFields": true, "useDefineForClassFields": true,
"target": "ESNext", "target": "ESNext",
"module": "ESNext", "module": "ESNext",
"moduleResolution": "node", "moduleResolution": "nodenext",
"strict": true, "strict": true,
"jsx": "preserve", "jsx": "preserve",
"sourceMap": true, "sourceMap": true,
@ -26,8 +26,8 @@
], ],
}, },
"lib": [ "lib": [
"esnext", "ESNext",
"dom" "DOM"
], ],
"types": [ "types": [
"vite/client" "vite/client"
@ -41,4 +41,7 @@
"src/router/index.js", "src/router/index.js",
"src/router/index.js", "src/router/index.js",
], ],
"exclude": [
"./node_modules",
]
} }