diff --git a/src/modules/03_logs/router.ts b/src/modules/03_logs/router.ts index 4dd377a2..b24b492b 100644 --- a/src/modules/03_logs/router.ts +++ b/src/modules/03_logs/router.ts @@ -9,12 +9,4 @@ export default [ Role: ["SUPER_ADMIN", "ADMIN"], }, }, - { - path: "/lists/:pathMatch(.*)*", - name: "viewLogs", - component: ListsPage, - meta: { - Role: ["SUPER_ADMIN", "ADMIN"], - }, - }, ]; diff --git a/src/modules/03_logs/views/lists.vue b/src/modules/03_logs/views/lists.vue index 94551156..f57c8ab5 100644 --- a/src/modules/03_logs/views/lists.vue +++ b/src/modules/03_logs/views/lists.vue @@ -4,13 +4,14 @@ /** importComponents*/ import CardComponents from "@/modules/03_logs/components/CardComponents.vue"; import LogTable from "@/modules/03_logs/components/LogTable.vue"; +import { useRoute } from "vue-router"; import http from "@/plugins/http"; import config from "@/app.config"; -import { link } from "fs"; -import { ref } from "vue"; +import { ref, onMounted } from "vue"; +import { useCurrencyInput } from "vue-currency-input"; /** importStore*/ - +const route = useRoute(); /** use*/ const menuList = ref<{ icon: string; label: string; path: string }[]>([ @@ -100,13 +101,40 @@ const menuList = ref<{ icon: string; label: string; path: string }[]>([ path: "lists?system=sso", }, ]); + +onMounted(async () => { + console.log(""); +});