feat: 사이드 메뉴 - 캐릭터 챗봇 메뉴 추가
This commit is contained in:
@@ -95,6 +95,24 @@ export default {
|
||||
let res = await api.getMenus();
|
||||
if (res.status === 200 && res.data.success === true && res.data.data.length > 0) {
|
||||
this.items = res.data.data
|
||||
|
||||
// 캐릭터 챗봇 메뉴 추가
|
||||
this.items.push({
|
||||
title: '캐릭터 챗봇',
|
||||
route: null,
|
||||
items: [
|
||||
{
|
||||
title: '배너 등록',
|
||||
route: '/character/banner',
|
||||
items: null
|
||||
},
|
||||
{
|
||||
title: '캐릭터 리스트',
|
||||
route: '/character',
|
||||
items: null
|
||||
}
|
||||
]
|
||||
})
|
||||
} else {
|
||||
this.notifyError("알 수 없는 오류가 발생했습니다. 다시 로그인 해주세요!")
|
||||
this.logout();
|
||||
|
Reference in New Issue
Block a user