Browse Source

导航栏调整

zhuth 7 years ago
parent
commit
650c183f6b
1 changed files with 1 additions and 3 deletions
  1. 1 3
      frontend/saas-web/app/view/main/Navigation.js

+ 1 - 3
frontend/saas-web/app/view/main/Navigation.js

@@ -78,7 +78,6 @@ Ext.define('saas.view.main.Navigation', {
             listeners: {
                 itemmouseenter: me.showNavMenu,
                 itemmouseleave: me.hideNavMenu,
-                itemclick: me.menuItemClick,
                 scope: me
             }
         });
@@ -92,8 +91,7 @@ Ext.define('saas.view.main.Navigation', {
     },
 
     showNavMenu: function(view, record, item, index, e, eOpts) {
-        var me = this,
-        recData = record.data,
+        var recData = record.data,
         menuItems = recData.items || [],
         itemBox = item.getBoundingClientRect(),
         pos = [itemBox.left + itemBox.width, itemBox.top],