Skip to content

Commit

Permalink
Remove unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby committed Sep 30, 2024
1 parent 93a4631 commit f0c8b7d
Show file tree
Hide file tree
Showing 16 changed files with 2 additions and 643 deletions.
4 changes: 2 additions & 2 deletions application/src/main/resources/templates/setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1 class="form-title">系统初始化</h1>
<div class="form-item">
<label for="email">邮箱</label>
<div class="form-input">
<input name="email" id="email" type="text" required />
<input name="email" id="email" type="email" required />
</div>
</div>

Expand All @@ -55,7 +55,7 @@ <h1 class="form-title">系统初始化</h1>
</div>

<div class="form-item">
<button type="submit">提交</button>
<button type="submit">初始化</button>
</div>
</form>
</div>
Expand Down
37 changes: 0 additions & 37 deletions ui/console-src/router/guards/check-states.ts

This file was deleted.

2 changes: 0 additions & 2 deletions ui/console-src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
type RouteLocationNormalizedLoaded,
} from "vue-router";
import { setupAuthCheckGuard } from "./guards/auth-check";
import { setupCheckStatesGuard } from "./guards/check-states";
import { setupPermissionGuard } from "./guards/permission";

const router = createRouter({
Expand All @@ -22,7 +21,6 @@ const router = createRouter({
},
});

setupCheckStatesGuard(router);
setupAuthCheckGuard(router);
setupPermissionGuard(router);

Expand Down
18 changes: 0 additions & 18 deletions ui/console-src/router/routes.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import Forbidden from "@/views/exceptions/Forbidden.vue";
import NotFound from "@/views/exceptions/NotFound.vue";
import BasicLayout from "@console/layouts/BasicLayout.vue";
import Setup from "@console/views/system/Setup.vue";
import SetupInitialData from "@console/views/system/SetupInitialData.vue";
import type { RouteRecordRaw } from "vue-router";

export const routes: Array<RouteRecordRaw> = [
Expand All @@ -22,22 +20,6 @@ export const routes: Array<RouteRecordRaw> = [
},
],
},
{
path: "/setup",
component: Setup,
name: "Setup",
meta: {
title: "core.setup.title",
},
},
{
path: "/setup-initial-data",
name: "SetupInitialData",
component: SetupInitialData,
meta: {
title: "core.setup.title",
},
},
];

export default routes;
135 changes: 0 additions & 135 deletions ui/console-src/views/system/Setup.vue

This file was deleted.

Loading

0 comments on commit f0c8b7d

Please sign in to comment.