|
@@ -113,6 +113,9 @@ function renderPage(pageSet){
|
|
|
}
|
|
|
}
|
|
|
function renderTab(tabList){
|
|
|
+ if(!tabList){
|
|
|
+ return
|
|
|
+ }
|
|
|
let tabStr = ''
|
|
|
let TabNum = 0
|
|
|
for(let i = 0; i < tabList.length; i++){
|
|
@@ -141,6 +144,9 @@ function hasTab(tabName,tabList){
|
|
|
}
|
|
|
|
|
|
function renderModuleWrapper(moduleList){
|
|
|
+ if(!moduleList){
|
|
|
+ return
|
|
|
+ }
|
|
|
let moduleStr = '',treatStr=""
|
|
|
for(let i = 0; i < moduleList.length; i++){
|
|
|
if(moduleList[i].status !='0'){
|