增加群聊功能

This commit is contained in:
2025-12-04 09:14:26 +08:00
parent da321e3afc
commit 63ca14379e
27 changed files with 2537 additions and 14 deletions

View File

@@ -194,7 +194,6 @@
*/
const getCode = () => {
authCaptcha().then(res => {
console.log(res)
vdata.formData.img = res.code
vdata.formData.uuid = res.uuid
})

View File

@@ -78,12 +78,26 @@
},
async init() {
const res = await menusStore.getMenus()
this.tabbar = res.filter(v => v.type == 0 && v.children.length && !v.hidden).map(v => {
const arr=res.filter(v => v.type == 0 && v.children.length && !v.hidden).map(v => {
return {
...v,
children: v.children.filter(child => child.type == 0 && !child.hidden)
}
})
arr.push({
title: '群聊管理',
miniIcon: '',
miniPath: '',
type: 0,
children: [
{
title:'群聊管理',
miniIcon:'https://cashier-oss.oss-cn-beijing.aliyuncs.com/upload/3/ef5566de3c10411e96fa4213381836a9.png',
miniPath:'pageChat/index',
}
]
})
this.tabbar = arr
console.log(this.tabbar);
},
// 点击左边的栏目切换