西海岸:增加我的发布侧边栏

This commit is contained in:
guoyue 2022-10-22 14:29:18 +08:00
parent 0461d44c85
commit b226e777f7
1 changed files with 8 additions and 7 deletions

View File

@ -33,15 +33,16 @@ export default defineComponent({
imgActive: require('@/assets/personalCenter/applyactive.png'), imgActive: require('@/assets/personalCenter/applyactive.png'),
key: 'apply', key: 'apply',
} }
let menuList = [ const push = {
car,
{
title: '我的发布', title: '我的发布',
img: require('@/assets/personalCenter/push.png'), img: require('@/assets/personalCenter/push.png'),
imgActive: require('@/assets/personalCenter/pushactive.png'), imgActive: require('@/assets/personalCenter/pushactive.png'),
key: 'push', key: 'push',
}, }
let menuList = [
car,
apply, apply,
push,
{ {
title: '我的收藏', title: '我的收藏',
img: require('@/assets/personalCenter/collect.png'), img: require('@/assets/personalCenter/collect.png'),
@ -69,7 +70,7 @@ export default defineComponent({
] ]
// 西 // 西
if (itShowXiHaiAn) { if (itShowXiHaiAn) {
menuList = [car, apply] menuList = [car, apply, push]
} }
const selectedKeys = ref(['apply']) const selectedKeys = ref(['apply'])