From 09d6ac57fee36cc2599f55249eabf2039bdf46a5 Mon Sep 17 00:00:00 2001 From: 05412 Date: Fri, 2 Aug 2024 17:43:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A1=B5=E8=84=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/items/NotFound.vue | 6 +++++- src/components/views/HomeView.vue | 11 ++++++++++- src/components/views/ServiceView.vue | 8 ++++++-- src/router.ts | 4 ++++ src/style.css | 3 +++ 5 files changed, 28 insertions(+), 4 deletions(-) diff --git a/src/components/items/NotFound.vue b/src/components/items/NotFound.vue index 8f1f6d8..6588ac8 100644 --- a/src/components/items/NotFound.vue +++ b/src/components/items/NotFound.vue @@ -3,7 +3,11 @@ \ No newline at end of file diff --git a/src/components/views/ServiceView.vue b/src/components/views/ServiceView.vue index 4ef779d..e1053f5 100644 --- a/src/components/views/ServiceView.vue +++ b/src/components/views/ServiceView.vue @@ -15,6 +15,10 @@ interface Surls { const urls = ref([]) const selected = ref([]) +const tableHeaderConfig = ref([ + {title: 'KEY1', value: 'key', key: 'key'}, + {title: 'URL', value: 'value', key: 'value'} +]) watch(selected, () => console.log(selected.value)) @@ -33,8 +37,8 @@ async function getSurl() { diff --git a/src/router.ts b/src/router.ts index 95a24f6..7b62a3a 100644 --- a/src/router.ts +++ b/src/router.ts @@ -4,6 +4,7 @@ import InputBox from "./components/items/InputBox.vue"; import IntroView from "./components/views/IntroView.vue"; import TestView from "./components/views/TestView.vue"; import ServiceView from "./components/views/ServiceView.vue"; +import NotFound from "./components/items/NotFound.vue"; const routes = [ { @@ -21,6 +22,9 @@ const routes = [ }, { path: '/services', component: ServiceView + }, { + path: '/404', + component: NotFound } ] export const router = createRouter({ diff --git a/src/style.css b/src/style.css index 67c7401..a4f7a51 100644 --- a/src/style.css +++ b/src/style.css @@ -11,4 +11,7 @@ } .v-overlay.v-dialog{ backdrop-filter: blur(6px); +} +.v-data-table-footer__items-per-page { + width: 200px; } \ No newline at end of file