保存进度!
This commit is contained in:
		@@ -32,7 +32,7 @@ module.exports = {
 | 
				
			|||||||
        "plugin:@typescript-eslint/recommended",
 | 
					        "plugin:@typescript-eslint/recommended",
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    rules: {
 | 
					    rules: {
 | 
				
			||||||
        "no-console": "warn",
 | 
					        "no-console": "off",
 | 
				
			||||||
        "quote-props": ["warn", "as-needed",],
 | 
					        "quote-props": ["warn", "as-needed",],
 | 
				
			||||||
        quotes: ["warn", "double", { allowTemplateLiterals: true, },],
 | 
					        quotes: ["warn", "double", { allowTemplateLiterals: true, },],
 | 
				
			||||||
        indent: ["warn", 4,],
 | 
					        indent: ["warn", 4,],
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -70,4 +70,4 @@ function dataTypes()
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export { dataTypes };
 | 
					export default dataTypes;
 | 
				
			||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
 * @Author: Kane
 | 
					 * @Author: Kane
 | 
				
			||||||
 * @Date: 2023-02-13 23:08:34
 | 
					 * @Date: 2023-02-13 23:08:34
 | 
				
			||||||
 * @LastEditors: Kane
 | 
					 * @LastEditors: Kane
 | 
				
			||||||
 * @LastEditTime: 2023-02-13 23:56:11
 | 
					 * @LastEditTime: 2023-02-14 22:25:27
 | 
				
			||||||
 * @FilePath: /后端辅助工具/src/DataType/Function.ts
 | 
					 * @FilePath: /后端辅助工具/src/DataType/Function.ts
 | 
				
			||||||
 * @Description: 
 | 
					 * @Description: 
 | 
				
			||||||
 * 
 | 
					 * 
 | 
				
			||||||
@@ -20,7 +20,7 @@ const func: {
 | 
				
			|||||||
    version: string,
 | 
					    version: string,
 | 
				
			||||||
} = f;
 | 
					} = f;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function func_this(this: { name: string; }, x: number, y: number): void
 | 
					function func_this_void( this:void, arg1:number ):number
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
					    return arg1;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@@ -2,14 +2,14 @@
 | 
				
			|||||||
 * @Author: Kane
 | 
					 * @Author: Kane
 | 
				
			||||||
 * @Date: 2023-02-09 22:14:30
 | 
					 * @Date: 2023-02-09 22:14:30
 | 
				
			||||||
 * @LastEditors: Kane
 | 
					 * @LastEditors: Kane
 | 
				
			||||||
 * @LastEditTime: 2023-02-14 00:09:39
 | 
					 * @LastEditTime: 2023-02-14 22:36:54
 | 
				
			||||||
 * @FilePath: /后端辅助工具/src/main.ts
 | 
					 * @FilePath: /后端辅助工具/src/main.ts
 | 
				
			||||||
 * @Description: 
 | 
					 * @Description: 
 | 
				
			||||||
 * 
 | 
					 * 
 | 
				
			||||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
					 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { dataTypes } from "./DataType/DataType";
 | 
					import dataTypes from "./DataType/DataType";
 | 
				
			||||||
import { pakoTest } from "./gzip/PakoTest";
 | 
					import { pakoTest } from "./gzip/PakoTest";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const greetings = "hello, this is kane's typescript!";
 | 
					const greetings = "hello, this is kane's typescript!";
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
 * @Author: Kane
 | 
					 * @Author: Kane
 | 
				
			||||||
 * @Date: 2022-12-14 15:12:46
 | 
					 * @Date: 2022-12-14 15:12:46
 | 
				
			||||||
 * @LastEditors: Kane
 | 
					 * @LastEditors: Kane
 | 
				
			||||||
 * @LastEditTime: 2023-02-06 00:36:26
 | 
					 * @LastEditTime: 2023-02-14 23:10:53
 | 
				
			||||||
 * @FilePath: /IT工具综合平台/.eslintrc.js
 | 
					 * @FilePath: /IT工具综合平台/.eslintrc.js
 | 
				
			||||||
 * @Description: 
 | 
					 * @Description: 
 | 
				
			||||||
 * 
 | 
					 * 
 | 
				
			||||||
@@ -25,7 +25,7 @@ module.exports = {
 | 
				
			|||||||
    'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
 | 
					    'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
 | 
				
			||||||
    "no-unused-vars": "warn",
 | 
					    "no-unused-vars": "warn",
 | 
				
			||||||
    "semi": ["error", "always",],//控制行尾部分号
 | 
					    "semi": ["error", "always",],//控制行尾部分号
 | 
				
			||||||
    "comma-dangle": ["error", {
 | 
					    "comma-dangle": ["warn", {
 | 
				
			||||||
      "arrays": "always",
 | 
					      "arrays": "always",
 | 
				
			||||||
      "objects": "always",
 | 
					      "objects": "always",
 | 
				
			||||||
      "imports": "never",
 | 
					      "imports": "never",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,8 +2,8 @@
 | 
				
			|||||||
 * @Author: Kane
 | 
					 * @Author: Kane
 | 
				
			||||||
 * @Date: 2022-12-14 15:12:46
 | 
					 * @Date: 2022-12-14 15:12:46
 | 
				
			||||||
 * @LastEditors: Kane
 | 
					 * @LastEditors: Kane
 | 
				
			||||||
 * @LastEditTime: 2023-01-30 21:43:21
 | 
					 * @LastEditTime: 2023-02-14 23:08:57
 | 
				
			||||||
 * @FilePath: \IT工具综合平台\src\main.js
 | 
					 * @FilePath: /IT工具综合平台/src/main.js
 | 
				
			||||||
 * @Description: 
 | 
					 * @Description: 
 | 
				
			||||||
 * 
 | 
					 * 
 | 
				
			||||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
					 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
				
			||||||
@@ -31,7 +31,7 @@ const app = createApp(App);
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
app.component("SvgIcon", SvgIcon);
 | 
					app.component("SvgIcon", SvgIcon);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
for (const [key, component] of Object.entries(ElementPlusIconsVue))
 | 
					for (const [key, component,] of Object.entries(ElementPlusIconsVue))
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    app.component(key, component);
 | 
					    app.component(key, component);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,10 +19,10 @@ const routes = [
 | 
				
			|||||||
    hidden: true,
 | 
					    hidden: true,
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    path:"/error-page",
 | 
					    path: "/error-page",
 | 
				
			||||||
    name: "ErrorPage",
 | 
					    name: "ErrorPage",
 | 
				
			||||||
    hidden: true,
 | 
					    hidden: true,
 | 
				
			||||||
    component: ()=> import("@/views/ErrorPage.vue"),
 | 
					    component: () => import("@/views/ErrorPage.vue"),
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    path: "/login",
 | 
					    path: "/login",
 | 
				
			||||||
@@ -35,7 +35,7 @@ const routes = [
 | 
				
			|||||||
    name: "Home",
 | 
					    name: "Home",
 | 
				
			||||||
    hidden: true,
 | 
					    hidden: true,
 | 
				
			||||||
    meta: {
 | 
					    meta: {
 | 
				
			||||||
      title: "控制台"
 | 
					      title: "控制台",
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    component: () => import("../layout/Index.vue"),
 | 
					    component: () => import("../layout/Index.vue"),
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
@@ -152,14 +152,14 @@ const routes = [
 | 
				
			|||||||
          icon: "switch",
 | 
					          icon: "switch",
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        component: () => import("../views/network/switch/SwitchManager.vue"),
 | 
					        component: () => import("../views/network/switch/SwitchManager.vue"),
 | 
				
			||||||
      }
 | 
					      },
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
];
 | 
					];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const router = createRouter({
 | 
					const router = createRouter({
 | 
				
			||||||
  history: createWebHashHistory(),
 | 
					  history: createWebHashHistory(),
 | 
				
			||||||
  routes
 | 
					  routes,
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//前置路由守卫
 | 
					//前置路由守卫
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,7 +16,7 @@ const store = createStore({
 | 
				
			|||||||
  modules: {
 | 
					  modules: {
 | 
				
			||||||
    app,
 | 
					    app,
 | 
				
			||||||
    requirement,
 | 
					    requirement,
 | 
				
			||||||
  }
 | 
					  },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default store;
 | 
					export default store;
 | 
				
			||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
 * @Author: Kane
 | 
					 * @Author: Kane
 | 
				
			||||||
 * @Date: 2023-01-07 22:25:43
 | 
					 * @Date: 2023-01-07 22:25:43
 | 
				
			||||||
 * @LastEditors: Kane
 | 
					 * @LastEditors: Kane
 | 
				
			||||||
 * @LastEditTime: 2023-02-05 10:47:28
 | 
					 * @LastEditTime: 2023-02-14 23:10:22
 | 
				
			||||||
 * @FilePath: /IT工具综合平台/src/store/modules/app.js
 | 
					 * @FilePath: /IT工具综合平台/src/store/modules/app.js
 | 
				
			||||||
 * @Description: vuex中存放全局数据的模块
 | 
					 * @Description: vuex中存放全局数据的模块
 | 
				
			||||||
 * 
 | 
					 * 
 | 
				
			||||||
@@ -29,7 +29,7 @@ const mutations = {
 | 
				
			|||||||
    SET_USERINFO(state, userInfo)
 | 
					    SET_USERINFO(state, userInfo)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        state.userInfo = userInfo;
 | 
					        state.userInfo = userInfo;
 | 
				
			||||||
    }
 | 
					    },
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
const actions = {};
 | 
					const actions = {};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										
											BIN
										
									
								
								code/web/错误页面/img/skull.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								code/web/错误页面/img/skull.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 195 KiB  | 
							
								
								
									
										49
									
								
								code/web/错误页面/index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										49
									
								
								code/web/错误页面/index.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,49 @@
 | 
				
			|||||||
 | 
					<!--
 | 
				
			||||||
 | 
					 * @Author: Kane
 | 
				
			||||||
 | 
					 * @Date: 2023-02-14 23:18:02
 | 
				
			||||||
 | 
					 * @LastEditors: Kane
 | 
				
			||||||
 | 
					 * @LastEditTime: 2023-02-14 23:19:47
 | 
				
			||||||
 | 
					 * @FilePath: /错误页面/index.html
 | 
				
			||||||
 | 
					 * @Description: 
 | 
				
			||||||
 | 
					 * 
 | 
				
			||||||
 | 
					 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
				
			||||||
 | 
					-->
 | 
				
			||||||
 | 
					<!DOCTYPE html>
 | 
				
			||||||
 | 
					<html lang="en">
 | 
				
			||||||
 | 
					    <head>
 | 
				
			||||||
 | 
					        <meta charset="UTF-8" />
 | 
				
			||||||
 | 
					        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
 | 
				
			||||||
 | 
					        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 | 
				
			||||||
 | 
					        <title>Document</title>
 | 
				
			||||||
 | 
					    </head>
 | 
				
			||||||
 | 
					    <style>
 | 
				
			||||||
 | 
					        .container {
 | 
				
			||||||
 | 
					            width: 100%;
 | 
				
			||||||
 | 
					            height: 100%;
 | 
				
			||||||
 | 
					            display: flex;
 | 
				
			||||||
 | 
					            flex-direction: column;
 | 
				
			||||||
 | 
					            justify-content: center;
 | 
				
			||||||
 | 
					            align-items: top;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        .container img {
 | 
				
			||||||
 | 
					            margin: 30px auto 0px auto;
 | 
				
			||||||
 | 
					            width: 400px;
 | 
				
			||||||
 | 
					            height: 400px;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        .container span {
 | 
				
			||||||
 | 
					            display: block;
 | 
				
			||||||
 | 
					            margin: 15px auto 0 auto;
 | 
				
			||||||
 | 
					            font-family: "rgaqsya";
 | 
				
			||||||
 | 
					            font-size: 5em;
 | 
				
			||||||
 | 
					            color: grey;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    </style>
 | 
				
			||||||
 | 
					    <body>
 | 
				
			||||||
 | 
					        <div class="container">
 | 
				
			||||||
 | 
					            <img src="./img/skull.png" />
 | 
				
			||||||
 | 
					            <span>妖秀啊</span>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					    </body>
 | 
				
			||||||
 | 
					</html>
 | 
				
			||||||
		Reference in New Issue
	
	Block a user