|
|
@ -75,7 +75,6 @@ ${userMenus}
|
|
|
|
const FIRST_PAGE = wctx.url("/adds/nims/dsuseMgtReceipt.do");
|
|
|
|
const FIRST_PAGE = wctx.url("/adds/nims/dsuseMgtReceipt.do");
|
|
|
|
|
|
|
|
|
|
|
|
let mainTabs = new TabControl({
|
|
|
|
let mainTabs = new TabControl({
|
|
|
|
sticky: {},
|
|
|
|
|
|
|
|
getMenu: (url) => menuSupport.getMenu(url),
|
|
|
|
getMenu: (url) => menuSupport.getMenu(url),
|
|
|
|
onDatasetChange: tabs => {
|
|
|
|
onDatasetChange: tabs => {
|
|
|
|
let template = document.getElementById("main-tab").innerHTML,
|
|
|
|
let template = document.getElementById("main-tab").innerHTML,
|
|
|
@ -94,7 +93,7 @@ let mainTabs = new TabControl({
|
|
|
|
);
|
|
|
|
);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onCurrentChange: tab => {
|
|
|
|
onCurrentChange: tab => {
|
|
|
|
if (!tab.data) return;
|
|
|
|
if (!tab || !tab.data) return;
|
|
|
|
|
|
|
|
|
|
|
|
let url = tab.data.url;
|
|
|
|
let url = tab.data.url;
|
|
|
|
menuSupport.setActive(url);
|
|
|
|
menuSupport.setActive(url);
|
|
|
|