Sfoglia il codice sorgente

新增PC页面使用VUE --------------------1

chenshibin 4 anni fa
parent
commit
538ce64bd0
1 ha cambiato i file con 7 aggiunte e 7 eliminazioni
  1. 7 7
      Controller/UserLoginController.py

+ 7 - 7
Controller/UserLoginController.py

@@ -236,17 +236,17 @@ class GetList(TemplateView):
                         'name': menu.name,
                         'name': menu.name,
                         'component': menu.component,
                         'component': menu.component,
                         'meta': {
                         'meta': {
-                                'hidden': CommonService.decode_data(menu.hidden),
-                                'levelHidden': CommonService.decode_data(menu.levelHidden),
+                                'hidden': menu.hidden,
+                                'levelHidden': menu.levelHidden,
                                 'title': menu.title,
                                 'title': menu.title,
                                 'icon': menu.icon,
                                 'icon': menu.icon,
-                                'isCustomSvg': CommonService.decode_data(menu.isCustomSvg),
-                                'noKeepAlive': CommonService.decode_data(menu.noKeepAlive),
-                                'noClosable': CommonService.decode_data(menu.noClosable),
+                                'isCustomSvg': menu.isCustomSvg,
+                                'noKeepAlive': menu.noKeepAlive,
+                                'noClosable': menu.noClosable,
                                 'badge': menu.badge,
                                 'badge': menu.badge,
-                                'tabHidden': CommonService.decode_data(menu.tabHidden),
+                                'tabHidden': menu.tabHidden,
                                 'activeMenu': menu.activeMenu,
                                 'activeMenu': menu.activeMenu,
-                                'dot': CommonService.decode_data(menu.dot),
+                                'dot': menu.dot,
                                 'dynamicNewTab': menu.dynamicNewTab,
                                 'dynamicNewTab': menu.dynamicNewTab,
                                 'sort': menu.sort
                                 'sort': menu.sort
                             }
                             }