+
@@ -12,12 +12,10 @@ import { shallowRef } from 'vue'
import SystemConfig from './components/SystemConfig/index.vue'
import AccountSetting from './components/AccountSetting/index.vue'
import Version from './components/Version/index.vue'
-import RoomTypeSetting from './components/RoomTypeSetting/index.vue'
const currentComponent = shallowRef(AccountSetting)
const components: any = {
AccountSetting,
- RoomTypeSetting,
Version,
}
const onChange = ({ componentName }: any) => currentComponent.value = components[componentName]
diff --git a/src/router/index.ts b/src/router/index.ts
index f87049a..51c25ac 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -35,12 +35,6 @@ const routes = [
name: "Skills",
meta: { requiresAuth: true },
},
- {
- path: "/skills",
- component: () => import("@src/pages/skills/index.vue"),
- name: "Skills",
- meta: { requiresAuth: true },
- },
{
path: "/cron",
component: () => import("@src/pages/cron/index.vue"),