diff --git a/code/ts/后端辅助工具/src/DataType/Class.ts b/code/ts/后端辅助工具/src/DataType/Class.ts index d76c054..91b5cdb 100644 --- a/code/ts/后端辅助工具/src/DataType/Class.ts +++ b/code/ts/后端辅助工具/src/DataType/Class.ts @@ -37,14 +37,5 @@ class CpicximStuff } }; -class A -{ - public static _x: string = "A"; -} -class B extends A -{ - -} - -export { CpicximStuff, A, B }; \ No newline at end of file +export { CpicximStuff }; \ No newline at end of file diff --git a/code/ts/后端辅助工具/src/DataType/Template.ts b/code/ts/后端辅助工具/src/DataType/Template.ts index 003533c..d673aa2 100644 --- a/code/ts/后端辅助工具/src/DataType/Template.ts +++ b/code/ts/后端辅助工具/src/DataType/Template.ts @@ -1,3 +1,13 @@ +/* + * @Author: Kane + * @Date: 2023-02-21 17:39:01 + * @LastEditors: Kane + * @LastEditTime: 2023-02-22 14:08:48 + * @FilePath: /后端辅助工具/src/DataType/Template.ts + * @Description: + * + * Copyright (c) ${2022} by Kane, All Rights Reserved. + */ interface Point { @@ -5,9 +15,9 @@ interface Point y: number; } -function radius(): TPoint +function radius(x: TPoint): TPoint { - result: TPoint; + const result: TPoint = x; return result; } \ No newline at end of file diff --git a/code/ts/后端辅助工具/tsconfig.json b/code/ts/后端辅助工具/tsconfig.json index 344bcc2..6425aae 100644 --- a/code/ts/后端辅助工具/tsconfig.json +++ b/code/ts/后端辅助工具/tsconfig.json @@ -13,10 +13,10 @@ "outDir": "./target", "strict": false, "strictNullChecks": true, - "strictPropertyInitialization":true, + "strictPropertyInitialization": true, "sourceMap": true, "allowJs": true, - "checkJs": false, + "checkJs": true, "moduleResolution": "node", "module": "CommonJS", "target": "ES2015" diff --git a/code/web/IT工具综合平台/src/components/svg/SvgIcon.vue b/code/web/IT工具综合平台/src/components/svg/SvgIcon.vue index 004d7b3..b9e8f74 100644 --- a/code/web/IT工具综合平台/src/components/svg/SvgIcon.vue +++ b/code/web/IT工具综合平台/src/components/svg/SvgIcon.vue @@ -2,8 +2,8 @@ * @Author: Kane * @Date: 2023-01-06 20:33:57 * @LastEditors: Kane - * @LastEditTime: 2023-01-07 17:10:07 - * @FilePath: \admin_system\src\components\svg\SvgIcon.vue + * @LastEditTime: 2023-02-22 17:10:18 + * @FilePath: /IT工具综合平台/src/components/svg/SvgIcon.vue * @Description: * * Copyright (c) ${2022} by Kane, All Rights Reserved. @@ -18,10 +18,10 @@ export default { data() { return { - iconName: "" + iconName: "", }; }, - props: ["icon"], + props: ["icon",], created() { console.log("svg"); @@ -31,6 +31,4 @@ export default { }; - \ No newline at end of file + \ No newline at end of file diff --git a/code/web/IT工具综合平台/src/layout/components/Header.vue b/code/web/IT工具综合平台/src/layout/components/Header.vue index 8918290..c58d6cf 100644 --- a/code/web/IT工具综合平台/src/layout/components/Header.vue +++ b/code/web/IT工具综合平台/src/layout/components/Header.vue @@ -2,7 +2,7 @@ * @Author: Kane * @Date: 2023-01-04 11:39:04 * @LastEditors: Kane - * @LastEditTime: 2023-02-06 10:17:22 + * @LastEditTime: 2023-02-22 17:10:54 * @FilePath: /IT工具综合平台/src/layout/components/Header.vue * @Description: * @@ -28,7 +28,7 @@ import { Logout } from "../../utils/api/info/account"; export default { name: "AppBanner", - setup(props, context) + setup() { const logout = () => { diff --git a/code/web/IT工具综合平台/src/utils/api/common.js b/code/web/IT工具综合平台/src/utils/api/common.js index 3bdd3a2..c0eb866 100644 --- a/code/web/IT工具综合平台/src/utils/api/common.js +++ b/code/web/IT工具综合平台/src/utils/api/common.js @@ -2,8 +2,8 @@ * @Author: Kane * @Date: 2022-12-22 17:16:53 * @LastEditors: Kane - * @LastEditTime: 2022-12-22 20:48:03 - * @FilePath: \admin_system\src\utils\api\common.js + * @LastEditTime: 2023-02-22 14:49:58 + * @FilePath: /IT工具综合平台/src/utils/api/common.js * @Description: 通用请求 * * Copyright (c) ${2022} by Kane, All Rights Reserved. @@ -15,6 +15,8 @@ const URL_GET_VALIDATE_CODE = ""; /** * 获取验证码 + * @param {*} data 承载数据的对象 + * @returns Promise对象 */ export function GetValidate(data) { diff --git a/code/web/IT工具综合平台/src/utils/api/requirement/requirement.js b/code/web/IT工具综合平台/src/utils/api/requirement/requirement.js index d8157ef..f6ce028 100644 --- a/code/web/IT工具综合平台/src/utils/api/requirement/requirement.js +++ b/code/web/IT工具综合平台/src/utils/api/requirement/requirement.js @@ -2,7 +2,7 @@ * @Author: Kane * @Date: 2023-02-04 15:48:00 * @LastEditors: Kane - * @LastEditTime: 2023-02-06 00:28:23 + * @LastEditTime: 2023-02-22 17:08:26 * @FilePath: /IT工具综合平台/src/utils/api/requirement/requirement.js * @Description: * @@ -16,7 +16,7 @@ import router from "@/router/index"; * 从后台获取需求管理页面所需数据,存放到vuex中。 * @param ui 保存ui标志位的对象 * @param store 保存在vuex中需求相关的对象 - * @param error_page_name 提示错误页面的路径 + * @param {string} error_page_name 提示错误页面的路径 *****************************************************/ function query_requirement_ui(requirement_store, error_page_name) {