保存进度!

This commit is contained in:
Kane 2023-03-07 23:04:03 +08:00
parent ef9472b334
commit 330f5fa1e4
3 changed files with 55 additions and 3 deletions

View File

@ -0,0 +1,50 @@
/*
* @Author: Kane
* @Date: 2023-03-01 23:38:12
* @LastEditors: Kane
* @FilePath: /task_schedule/src/test/tsconfig.json
* @Description: tsconfig
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
{
"compilerOptions": {
"forceConsistentCasingInFileNames": true,
"useDefineForClassFields": true,
"target": "ESNext",
"module": "ESNext",
// "module": "CommonJS",
// "moduleResolution": "node",
"moduleResolution": "nodenext",
"strict": true,
"jsx": "preserve",
"sourceMap": true,
"resolveJsonModule": true,
"esModuleInterop": false,
"baseUrl": "./", // paths
"paths": { //
"@/*": [
"src/*"
],
},
"lib": [
"ESNext",
"DOM"
],
"types": [
"vite/client"
]
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"*.d.ts",
"src/router/index.js",
"src/router/index.js",
"./**/*.ts",
],
"exclude": [
"./node_modules",
]
}

View File

@ -29,7 +29,7 @@
// import { reactive, onBeforeMount } from "vue"; // import { reactive, onBeforeMount } from "vue";
import { useRouter } from "vue-router"; import { useRouter } from "vue-router";
// import { StaffInfo } from "@/data/cpicxim/StaffInfo"; // import { StaffInfo } from "@/data/cpicxim/StaffInfo";
import { loadStaffInfo } from "@/utils/api/localStorage"; import { loadStaffInfo } from "@/utils/api/localStorage.js";
import { ElMessage } from "element-plus"; import { ElMessage } from "element-plus";
import Archievement from "@/components/ArchievementComponent.vue"; import Archievement from "@/components/ArchievementComponent.vue";

View File

@ -12,8 +12,10 @@
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"useDefineForClassFields": true, "useDefineForClassFields": true,
"target": "ESNext", "target": "ESNext",
"module": "ESNext", // "module": "ESNext",
"moduleResolution": "nodenext", "module": "CommonJS",
"moduleResolution": "node",
// "moduleResolution": "nodenext",
"strict": true, "strict": true,
"jsx": "preserve", "jsx": "preserve",
"sourceMap": true, "sourceMap": true,