From 1a33109b9e6e580354ce6c385ddce3bde3b05a65 Mon Sep 17 00:00:00 2001 From: zhl Date: Fri, 12 Mar 2021 15:59:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0tag-input=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TagInput/index.vue | 89 +++++++++++++++++++++++++++++++ src/lang/en.ts | 1 + src/lang/zh.ts | 1 + src/layout/index.vue | 12 ++--- src/router/modules/system.ts | 10 ++++ src/views/system/role.vue | 21 ++++++-- 6 files changed, 123 insertions(+), 11 deletions(-) create mode 100644 src/components/TagInput/index.vue diff --git a/src/components/TagInput/index.vue b/src/components/TagInput/index.vue new file mode 100644 index 0000000..d3d7ece --- /dev/null +++ b/src/components/TagInput/index.vue @@ -0,0 +1,89 @@ + + + diff --git a/src/lang/en.ts b/src/lang/en.ts index 94e1349..7b4baea 100644 --- a/src/lang/en.ts +++ b/src/lang/en.ts @@ -2,6 +2,7 @@ export default { route: { dashboard: 'Dashboard', system: 'System', + adminuser: 'Admin', documentation: 'Documentation', guide: 'Guide', permission: 'Permission', diff --git a/src/lang/zh.ts b/src/lang/zh.ts index 99a67fb..e3971a6 100644 --- a/src/lang/zh.ts +++ b/src/lang/zh.ts @@ -3,6 +3,7 @@ export default { dashboard: '首页', documentation: '文档', system: '系统', + adminuser: '管理员', guide: '引导页', permission: '权限测试页', rolePermission: '角色权限', diff --git a/src/layout/index.vue b/src/layout/index.vue index ea4834e..545226f 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -8,18 +8,18 @@ class="drawer-bg" @click="handleClickOutside" /> - +
- - + +
- + - +
@@ -28,7 +28,7 @@