修改一些javascript的语法错误。

This commit is contained in:
Kane Wang 2023-02-22 17:12:54 +08:00
parent 8248fe942a
commit 557452aedc
7 changed files with 28 additions and 27 deletions

View File

@ -37,14 +37,5 @@ class CpicximStuff
} }
}; };
class A
{
public static _x: string = "A";
}
class B extends A export { CpicximStuff };
{
}
export { CpicximStuff, A, B };

View File

@ -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 interface Point
{ {
@ -5,9 +15,9 @@ interface Point
y: number; y: number;
} }
function radius<TPoint>(): TPoint function radius<TPoint>(x: TPoint): TPoint
{ {
result: TPoint; const result: TPoint = x;
return result; return result;
} }

View File

@ -13,10 +13,10 @@
"outDir": "./target", "outDir": "./target",
"strict": false, "strict": false,
"strictNullChecks": true, "strictNullChecks": true,
"strictPropertyInitialization":true, "strictPropertyInitialization": true,
"sourceMap": true, "sourceMap": true,
"allowJs": true, "allowJs": true,
"checkJs": false, "checkJs": true,
"moduleResolution": "node", "moduleResolution": "node",
"module": "CommonJS", "module": "CommonJS",
"target": "ES2015" "target": "ES2015"

View File

@ -2,8 +2,8 @@
* @Author: Kane * @Author: Kane
* @Date: 2023-01-06 20:33:57 * @Date: 2023-01-06 20:33:57
* @LastEditors: Kane * @LastEditors: Kane
* @LastEditTime: 2023-01-07 17:10:07 * @LastEditTime: 2023-02-22 17:10:18
* @FilePath: \admin_system\src\components\svg\SvgIcon.vue * @FilePath: /IT/src/components/svg/SvgIcon.vue
* @Description: * @Description:
* *
* Copyright (c) ${2022} by Kane, All Rights Reserved. * Copyright (c) ${2022} by Kane, All Rights Reserved.
@ -18,10 +18,10 @@ export default {
data() data()
{ {
return { return {
iconName: "" iconName: "",
}; };
}, },
props: ["icon"], props: ["icon",],
created() created()
{ {
console.log("svg"); console.log("svg");
@ -31,6 +31,4 @@ export default {
}; };
</script> </script>
<style scoped> <style scoped></style>
</style>

View File

@ -2,7 +2,7 @@
* @Author: Kane * @Author: Kane
* @Date: 2023-01-04 11:39:04 * @Date: 2023-01-04 11:39:04
* @LastEditors: Kane * @LastEditors: Kane
* @LastEditTime: 2023-02-06 10:17:22 * @LastEditTime: 2023-02-22 17:10:54
* @FilePath: /IT/src/layout/components/Header.vue * @FilePath: /IT/src/layout/components/Header.vue
* @Description: * @Description:
* *
@ -28,7 +28,7 @@ import { Logout } from "../../utils/api/info/account";
export default { export default {
name: "AppBanner", name: "AppBanner",
setup(props, context) setup()
{ {
const logout = () => const logout = () =>
{ {

View File

@ -2,8 +2,8 @@
* @Author: Kane * @Author: Kane
* @Date: 2022-12-22 17:16:53 * @Date: 2022-12-22 17:16:53
* @LastEditors: Kane * @LastEditors: Kane
* @LastEditTime: 2022-12-22 20:48:03 * @LastEditTime: 2023-02-22 14:49:58
* @FilePath: \admin_system\src\utils\api\common.js * @FilePath: /IT/src/utils/api/common.js
* @Description: 通用请求 * @Description: 通用请求
* *
* Copyright (c) ${2022} by Kane, All Rights Reserved. * 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) export function GetValidate(data)
{ {

View File

@ -2,7 +2,7 @@
* @Author: Kane * @Author: Kane
* @Date: 2023-02-04 15:48:00 * @Date: 2023-02-04 15:48:00
* @LastEditors: Kane * @LastEditors: Kane
* @LastEditTime: 2023-02-06 00:28:23 * @LastEditTime: 2023-02-22 17:08:26
* @FilePath: /IT/src/utils/api/requirement/requirement.js * @FilePath: /IT/src/utils/api/requirement/requirement.js
* @Description: * @Description:
* *
@ -16,7 +16,7 @@ import router from "@/router/index";
* 从后台获取需求管理页面所需数据存放到vuex中 * 从后台获取需求管理页面所需数据存放到vuex中
* @param ui 保存ui标志位的对象 * @param ui 保存ui标志位的对象
* @param store 保存在vuex中需求相关的对象 * @param store 保存在vuex中需求相关的对象
* @param error_page_name 提示错误页面的路径 * @param {string} error_page_name 提示错误页面的路径
*****************************************************/ *****************************************************/
function query_requirement_ui(requirement_store, error_page_name) function query_requirement_ui(requirement_store, error_page_name)
{ {