保存进度!
This commit is contained in:
		
							
								
								
									
										50
									
								
								code/web/task_schedule/src/test/tsconfig.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								code/web/task_schedule/src/test/tsconfig.json
									
									
									
									
									
										Normal 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",
 | 
			
		||||
    ]
 | 
			
		||||
}
 | 
			
		||||
@@ -29,7 +29,7 @@
 | 
			
		||||
// import { reactive, onBeforeMount } from "vue";
 | 
			
		||||
import { useRouter } from "vue-router";
 | 
			
		||||
// 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 Archievement from "@/components/ArchievementComponent.vue";
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -12,8 +12,10 @@
 | 
			
		||||
        "forceConsistentCasingInFileNames": true,
 | 
			
		||||
        "useDefineForClassFields": true,
 | 
			
		||||
        "target": "ESNext",
 | 
			
		||||
        "module": "ESNext",
 | 
			
		||||
        "moduleResolution": "nodenext",
 | 
			
		||||
        // "module": "ESNext",
 | 
			
		||||
        "module": "CommonJS",
 | 
			
		||||
        "moduleResolution": "node",
 | 
			
		||||
        // "moduleResolution": "nodenext",
 | 
			
		||||
        "strict": true,
 | 
			
		||||
        "jsx": "preserve",
 | 
			
		||||
        "sourceMap": true,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user