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