diff --git a/src/components/items/UrlAdd.vue b/src/components/items/UrlAdd.vue
new file mode 100644
index 0000000..3dc2ea5
--- /dev/null
+++ b/src/components/items/UrlAdd.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/items/UrlManagement.vue b/src/components/items/UrlManagement.vue
index 3a85416..59dca5b 100644
--- a/src/components/items/UrlManagement.vue
+++ b/src/components/items/UrlManagement.vue
@@ -1,13 +1,30 @@
-
+
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/components/views/DashboardView.vue b/src/components/views/DashboardView.vue
index fc50030..e305651 100644
--- a/src/components/views/DashboardView.vue
+++ b/src/components/views/DashboardView.vue
@@ -5,17 +5,21 @@ const { t } = useLocale()
-
+
-
+
-
+
+
+
@@ -29,7 +33,7 @@ const { t } = useLocale()
-
+
diff --git a/src/router.ts b/src/router.ts
index 0d4e3da..bf3a928 100644
--- a/src/router.ts
+++ b/src/router.ts
@@ -9,6 +9,7 @@ import DashboardView from "./components/views/DashboardView.vue";
import Profile from "./components/items/Profile.vue";
import Security from "./components/items/Security.vue";
import UrlManagement from "./components/items/UrlManagement.vue";
+import UrlAdd from "./components/items/UrlAdd.vue";
const routes = [
{
@@ -28,6 +29,7 @@ const routes = [
component: ServiceView
}, {
path: '/dashboard',
+ redirect: '/dashboard/url-management',
component: DashboardView,
children: [{
path: 'profile',
@@ -38,6 +40,9 @@ const routes = [
}, {
path: 'url-management',
component: UrlManagement
+ }, {
+ path: 'url-add',
+ component: UrlAdd
}]
}, {
path: '/404',
diff --git a/src/script/i18n/en.ts b/src/script/i18n/en.ts
index 5bc4a0a..f553520 100644
--- a/src/script/i18n/en.ts
+++ b/src/script/i18n/en.ts
@@ -49,7 +49,12 @@ const en: LocaleInterface = {
'url-management': {
title: 'URL Management',
edit: 'Edit',
- display: 'Display'
+ display: 'Display',
+ table: {
+ key: 'KEY',
+ url: 'URL',
+ remark: 'REMARK'
+ }
},
profile: 'Profile',
security: 'Security'
diff --git a/src/script/i18n/locale-interface.ts b/src/script/i18n/locale-interface.ts
index bc3dc31..9c86945 100644
--- a/src/script/i18n/locale-interface.ts
+++ b/src/script/i18n/locale-interface.ts
@@ -46,7 +46,12 @@ export default interface LocaleInterface {
'url-management': {
title: string,
edit: string,
- display: string
+ display: string,
+ table: {
+ key: string,
+ url: string,
+ remark: string
+ }
},
profile: string,
security: string
diff --git a/src/script/i18n/zhHans.ts b/src/script/i18n/zhHans.ts
index 56fe835..07ddf93 100644
--- a/src/script/i18n/zhHans.ts
+++ b/src/script/i18n/zhHans.ts
@@ -49,7 +49,12 @@ const zhHans: LocaleInterface = {
'url-management': {
title: '链接管理',
edit: '编辑',
- display: '查看'
+ display: '查看',
+ table: {
+ key: '标识',
+ url: '链接地址',
+ remark: '备注'
+ }
},
profile: '用户信息',
security: '安全性'