修改一些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, A, B };
export { CpicximStuff };

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

View File

@ -16,7 +16,7 @@
"strictPropertyInitialization": true,
"sourceMap": true,
"allowJs": true,
"checkJs": false,
"checkJs": true,
"moduleResolution": "node",
"module": "CommonJS",
"target": "ES2015"

View File

@ -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 {
};
</script>
<style scoped>
</style>
<style scoped></style>

View File

@ -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 = () =>
{

View File

@ -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)
{

View File

@ -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)
{