채널 후원 정산 페이지 추가
This commit is contained in:
@@ -149,6 +149,26 @@ export default {
|
||||
},
|
||||
]
|
||||
})
|
||||
|
||||
// 정산 관리 메뉴에 '채널 후원 정산' 추가
|
||||
try {
|
||||
const calculateMenu = this.items.find(m => m && m.title === '정산 관리')
|
||||
if (calculateMenu) {
|
||||
if (!Array.isArray(calculateMenu.items)) {
|
||||
calculateMenu.items = calculateMenu.items ? [].concat(calculateMenu.items) : []
|
||||
}
|
||||
const exists = calculateMenu.items.some(ci => ci && ci.route === '/calculate/channel-donation')
|
||||
if (!exists) {
|
||||
calculateMenu.items.push({
|
||||
title: '채널 후원 정산',
|
||||
route: '/calculate/channel-donation',
|
||||
items: null
|
||||
})
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
// ignore
|
||||
}
|
||||
} else {
|
||||
this.notifyError("알 수 없는 오류가 발생했습니다. 다시 로그인 해주세요!")
|
||||
this.logout();
|
||||
|
||||
Reference in New Issue
Block a user