diff --git a/README.md b/README.md
index bc5129f..38643b9 100644
--- a/README.md
+++ b/README.md
@@ -98,6 +98,10 @@ vue-admin-perfect
└─ vite.config.ts # vite 配置
```
+### 十、微信交流群
+| 微信二维码 |
+| :----------------------------------------------------------------------------------: |
+|
|
diff --git a/src/router/modules/externalLink.ts b/src/router/modules/externalLink.ts
index 1984def..e30894c 100644
--- a/src/router/modules/externalLink.ts
+++ b/src/router/modules/externalLink.ts
@@ -12,6 +12,12 @@ const externalLink = [{
icon: 'link'
},
children: [
+ {
+ path: 'wechat',
+ name: 'wechat',
+ component: () => import('@/views/externalLinks/wechat/index.vue'),
+ meta: { title: '加微信群', icon: 'MenuIcon' }
+ },
{
path: 'https://github.com/zouzhibin/vue-admin-perfect',
name: 'github',
diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts
index 9afd472..96b323e 100644
--- a/src/router/modules/system.ts
+++ b/src/router/modules/system.ts
@@ -9,7 +9,8 @@ const systemRouter = [{
name: 'system',
meta: {
title: '系统管理',
- icon: 'ElementPlus'
+ icon: 'ElementPlus',
+ roles:['other']
},
children: [
{
@@ -22,19 +23,19 @@ const systemRouter = [{
path: 'user',
component: () => import('@/views/system/user/index.vue'),
name: 'user',
- meta: { title: '用户管理', roles: ['other'] , icon: 'MenuIcon'}
+ meta: { title: '用户管理' , icon: 'MenuIcon'}
},
{
path: 'role',
component: () => import('@/views/system/role/index.vue'),
name: 'role',
- meta: { title: '角色管理', roles: ['other'], icon: 'MenuIcon' }
+ meta: { title: '角色管理', icon: 'MenuIcon' }
},
{
path: 'menu',
component: () => import('@/views/system/menu/index.vue'),
name: 'menu',
- meta: { title: '菜单管理', roles: ['other'] , icon: 'MenuIcon'}
+ meta: { title: '菜单管理', icon: 'MenuIcon'}
},
]
}]
diff --git a/src/views/chat/components/u-chartBox/chat.js b/src/views/chat/components/u-chartBox/chat.js
index a765297..eae616f 100644
--- a/src/views/chat/components/u-chartBox/chat.js
+++ b/src/views/chat/components/u-chartBox/chat.js
@@ -1,9 +1,10 @@
export const chatData = [
{
is_self: 0,
- created_at: '2022-03-11',
- content: 'hello 你好呀!',
+ created_at: '2022-11-15',
+ content: 'http://182.61.5.190:8889/we.png',
id: 1,
+ type: 2, // 文字
},
{
is_self: 1,
@@ -12,4 +13,5 @@ export const chatData = [
id: 2,
type: 1, // 文字
},
+
]
diff --git a/src/views/chat/components/u-chartBox/index.vue b/src/views/chat/components/u-chartBox/index.vue
index f668672..c54a5c4 100644
--- a/src/views/chat/components/u-chartBox/index.vue
+++ b/src/views/chat/components/u-chartBox/index.vue
@@ -9,7 +9,15 @@