|  |  | 
 |  |  | import dept from "./dept"; | 
 |  |  | import menu from './menu' | 
 |  |  | import user from './user'; | 
 |  |  | import operationRecord from './operationRecord'; | 
 |  |  | import zone from './zone'; | 
 |  |  | import staSts from './staSts'; | 
 |  |  | import staType from './staType'; | 
 |  |  | import code from './code'; | 
 |  |  | import sta from './sta'; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | const ResourceContent = (node) => { | 
 |  |  |     switch (node.component) { | 
 |  |  | 
 |  |  |             return menu; | 
 |  |  |         case 'user': | 
 |  |  |             return user; | 
 |  |  |         case 'operationRecord': | 
 |  |  |             return operationRecord; | 
 |  |  |         case 'zone': | 
 |  |  |             return zone; | 
 |  |  |         case 'staSts': | 
 |  |  |             return staSts; | 
 |  |  |         case 'staType': | 
 |  |  |             return staType; | 
 |  |  |         case 'code': | 
 |  |  |             return code; | 
 |  |  |         case 'sta': | 
 |  |  |             return sta; | 
 |  |  |         default: | 
 |  |  |             return { | 
 |  |  |                 list: ListGuesser, |